Thank you for this amazing content! One of the best tutorials ever! I want to give a bug fix suggestion: - Validating if the username is already in use. The fix is simple, update the validation rule for username: 'username' => ['required', 'string', 'max:255', 'regex:/^[\w\-\.]+$/i', Rule::unique(User::class)->ignore($this->user()->id)] This way, we can guarantee a unique username when updating the profile
Thank you soo much this playlist will going to be greate for me and hopefully every subscriber and i am going to learn inertia and vue from here your teaching method is great
The reason why accepting only lowercase alphanumeric characters was not working, was the /i modifier in the regex definition, which made it case insensitive. Cheers!
Thank you for your great tutorials. I like especially Yii tutorials. Which framework is better in your opinion, Laravel or Yii? What about some comparison video? I know that laravel is very popular, but personally I like Yii more.
Brilliant! Absolutely Brilliant ... keep them coming
Thank you for this amazing content! One of the best tutorials ever!
I want to give a bug fix suggestion:
- Validating if the username is already in use.
The fix is simple, update the validation rule for username:
'username' => ['required', 'string', 'max:255', 'regex:/^[\w\-\.]+$/i', Rule::unique(User::class)->ignore($this->user()->id)]
This way, we can guarantee a unique username when updating the profile
I am going to include this myself because this will be required to be unique. Good call bro! Hope you find my regex expression useful as well.
Good job bro. Keep it up!
as usual u r the best dear keep it up ..... many people using u r tutorial ..get jobs ... this yor work is excellent dear
Thank you soo much this playlist will going to be greate for me and hopefully every subscriber and i am going to learn inertia and vue from here your teaching method is great
The reason why accepting only lowercase alphanumeric characters was not working, was the /i modifier in the regex definition, which made it case insensitive. Cheers!
Thanks for your comment. 👍
It was great, I am looking to for others!
Thank you for your great tutorials. I like especially Yii tutorials. Which framework is better in your opinion, Laravel or Yii? What about some comparison video? I know that laravel is very popular, but personally I like Yii more.
thanks
I get this error
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'username' in 'where clause'
Can Mailpit be used on Laravel 10 without sail?
Probably yes, but not sure I have not used without docker. This is why I recommend to follow this tutorial with laravel sail.
why not if put lowercase only for usarname 'username' => ['required', 'string', 'lowercase', 'max:255', 'regex:/^[\w\-\.]+$/i'],
finish.
You think we still need PHP frameworks?
Because GPT can show you how to make secure PSR project in one day.
PHP framework is not only PSR project.
There is way more than that so I think we still need PHP frameworks.
It was great, I am looking to for others!
There are already more than 30 videos posted in this playlist. I hope you will like thwm as well.
thanks