Sir, u literally explained the best about Laravel Breeze no one on this whole utube era explained in such beautiful way like the way u did kindly do one more favor try to make a scratch to advance course on laravel PLEASE
Thank you Hasan. If you open the videos tab on my channel and scroll to my first Laravel videos, you could pretty much work your way up because my channel is build from beginners to advanced.
Awesome lesson! For us international developers: could you please create 2 lessons: 1) How to implement a multi-lingual login. I see the code comes with __("blah") so it should be relatively easy. 2) Adding a checkbox and some basic GDPR privacy stuff. Nowadays there are more and more (even Brasil) countries requiring privacy management.
Best explanation!!! explains everything ! It's really helpful for beginners like me . Sometimes I know How code works but can't explain how actually but this helps so much.
Hi, it's an awesome tutorial. But you explain User model fillable property in a different way. It means if you want to mass assign those properties then you have to put those attributes here. Otherwise, you cant assign all of the attribute at a time
You are right! The "fillable" property is used to specify which attributes can be mass assigned. If an attribute is not listed in the "fillable" array, it cannot be assigned using mass assignment.
Great tutorial! Wasn't aware of mailtrap, thanks for showing that! Maybe you could've edited the /dashboard view just to clarify how their views work together.
Hello Dary, I really like your videos on this channel. I watch almost all your tutorials 🥰. Can you make a details video on 'How to use Spatie Roles/Permission' package and show us how to manage it via a visual interface? For example, if you model is generated, give option to CRUD feature that model. Thank you very much for your excellent videos.
I could've done that but there are just 1/2 methods on how you can do that and Laravel Daily already has a video on it, so I don't want to use that code! :)
Great content and great instructor And how to make multi auth with it And does it have profile reset password Can't wait to see your video about Jetstream Thanks man
Hello, encountering error Connection could not be established with host mailhog :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is known. after the registration.
help im getting this error when i try to implement the MustVerifyEmail i followed the steps. Connection could not be established with host "mailpit:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailpit failed: No such host is known.
@@codewithdary this i guess validates if the request has any email and password, but how does it checks if it matches with the one on the database, Sorry for asking such question, I just got a bit confused, Thank you for replying though
By adding unique:users, where you are basically saying that the email should be unique on the table users. There's no need to check for a password match in the database.
@@codewithdary Sorry I guess there has been a bit of confusion, isn't it when we resister we want the framework to identify if email is unique, I guess the part you're telling is for register, I really didn't make my question and function being used clear I guess, is the process same wile login in, how it verifies if the user already exists on the table
The verification part didn't work on me it keeps prompting this error: Connection could not be established with host "mailhog:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailhog failed: No such host is known. NVM: I got it fixed by modifying the mail.php and env file to mailtrap smtp :)
I get an error Illuminate\database \queryExpectations Could not find driver (SQL: select * from information_schema. Tables where table_schema = kajointdb and table_name = migrations and table_type = 'BASE TABLE') This is when I try to run php artisan migrate
what is the solution of this error in laravel breeze installation: Your requirements could not be resolved to an installable set of packages. Problem 1 - laravel/breeze[v1.19.0, ..., v1.19.2] conflict with laravel/framework your php version (8.0.12) does not satisfy that requirement. - laravel/framework is locked to version v9.22.1 and an update of this package was not requested. - Root composer.json requires laravel/breeze ^1.19 -> satisfiable by laravel/breeze[v1.19.0, ..., 1.x-dev]. You can also try re-running composer require with an explicit version constraint, e.g. "composer require laravel/breeze:*" to figure out if any version is installable, or "composer require laravel/breeze:^2.1" if you know which you need. Installation failed, reverting ./composer.json and ./composer.lock to their original content.
This error occurs because Laravel Breeze version 1.20.0 and above require PHP version 8.1.0 or higher, but your current PHP version is 8.0.12. To resolve this issue, you can either upgrade your PHP version to 8.1.0 or higher or use an older version of Laravel Breeze that is compatible with your current PHP version. Additionally, laravel/breeze versions 1.19.0 to 1.19.2 conflict with laravel/framework version 9.37.0 or higher, so you will need to use a version of laravel/breeze that is compatible with your version of laravel/framework.
@@codewithdary when we checked remember me checkbox the input box value should not disappear from the input box in login page.... The value of input box has disappear How to show value in input box for email and password by checked check box remember me
'Connection could not be established with host "mailhog:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailhog failed: No such host is known.' How can I solve it?
you need to add this 127.0.0.1 mailhog in your hosts file and change this MAIL_HOST=0.0.0.0 in .env file or use MAIL_HOST=localhost also you can check if your mailhog is enabled sudo service mailhog status To enable: sudo systemctl enable mailhog To start: sudo systemctl start mailhog
Check your package.json to see if it is valid JSON. For instance, if you have a dangling comma after the last item in a bracket set {}, like... "tailwindcss": "^3.0.18", } it can cause a problem when you run an artisan command. It can give you an error much like `ErrorException: array_key_exists() expects parameter 2 to be array, null given` A misplaced comma can confuse artisan into expecting one more thing.
im getting thisa error and not sure why Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #5 ($port) must be of type ?int, string given, called in /Users/cabrera31/Desktop/workspace/laravel_breeze/laravel_bre/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 174 I was setting up the email verification and this issue appeared. I was following the instructions from the video too.
after run : php artisan breeze:install I get this error: ErrorException copy(C:\xampp\htdocs\promotion_project\Promotions_1\backup 30 Nov\Promotions outes/web.php): Failed to open stream: Permission denied at C:\xampp\htdocs\promotion_project\Promotions_1\backup 30 Nov\Promotions\vendor\laravel\breeze\src\Console\InstallsBladeStack.php:54 could you help me please?
According to Stackoverflow: Solved the problem with this solution, clarifying that if you have Windows, you apply lines 1 and 3 and it works the same. php artisan cache:clear chmod -R 777 storage/ composer dump-autoload
LETS CONNECT THROUGH INSTAGRAM.
instagram.com/codewithdary
ERROR Failed to compile with 2 errors error in ./resources/css/app.css
Module build failed (from ./node_modules/css-loader/index.js): ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js): Error: PostCSS plugin tailwindcss requires PostCSS 8. Migration guide for end-users:
Excellent video 🎉
Sir, u literally explained the best about Laravel Breeze no one on this whole utube era explained in such beautiful way like the way u did kindly do one more favor try to make a scratch to advance course on laravel PLEASE
Thank you Hasan. If you open the videos tab on my channel and scroll to my first Laravel videos, you could pretty much work your way up because my channel is build from beginners to advanced.
Awesome lesson! For us international developers: could you please create 2 lessons:
1) How to implement a multi-lingual login. I see the code comes with __("blah") so it should be relatively easy.
2) Adding a checkbox and some basic GDPR privacy stuff. Nowadays there are more and more (even Brasil) countries requiring privacy management.
Best explanation!!! explains everything ! It's really helpful for beginners like me . Sometimes I know How code works but can't explain how actually but this helps so much.
Great to hear Upendra, thank you so much
Great video. Your new subscriber from Pakistan💚
Thanks and welcome!!
Indeed, a great tutorial about Laravel Breeze. Thank you so much for this Dary! 🙏
Thank you Jet!
Hi, it's an awesome tutorial. But you explain User model fillable property in a different way. It means if you want to mass assign those properties then you have to put those attributes here. Otherwise, you cant assign all of the attribute at a time
You are right! The "fillable" property is used to specify which attributes can be mass assigned. If an attribute is not listed in the "fillable" array, it cannot be assigned using mass assignment.
Great tutorial! Wasn't aware of mailtrap, thanks for showing that! Maybe you could've edited the /dashboard view just to clarify how their views work together.
Thank you Jakov! That was definitely the plan before I made the video but it was a very long video already, that’s why I skipped it.
You are a herooooooooo
You are my hero...
Thanks Dary!! Great tutorial for understanding the flow of all authentication related stuff.
Thank you Vinod!
Hello Dary,
I really like your videos on this channel. I watch almost all your tutorials 🥰.
Can you make a details video on 'How to use Spatie Roles/Permission' package and show us how to manage it via a visual interface? For example, if you model is generated, give option to CRUD feature that model.
Thank you very much for your excellent videos.
Hi David! Thank you so much. I'm working on a Spatie Roles/Permission tutorial :)
@@codewithdary Thank you very much, please try to make a more visual way to add permissions for each new model 💗
ruclips.net/video/jdKZG4V-hsw/видео.html may be you will get a better idea :)
Hey Dary, this is really interesting video, you have explained everything in very detail. great content. I really liked it.
Hey, thanks David!
this is an awesome tuto but at the end you could Instead of login with username, you could login with either username or email at the same field
I could've done that but there are just 1/2 methods on how you can do that and Laravel Daily already has a video on it, so I don't want to use that code! :)
How did you preview the database in vscode? which extension did you use?
Add a VS code extension called Database Client!
Awesome. Thank you for this video
Thank you for watching Nolan!
very informative
Expecting more and new videos in Laravel
Won't happen! Symfony course is coming :)
Thank you for this useful course.
Please make another Laravel login with facebook course.
Thanks for the idea!
Great content and great instructor
And how to make multi auth with it
And does it have profile reset password
Can't wait to see your video about Jetstream
Thanks man
Definitely coming soon!! Thank you.
Hello, encountering error Connection could not be established with host mailhog :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is known. after the registration.
Help i cant change add/change any tailwind css on /dashboard blade. I use docker and breeze
Have you ran npm run watch?
how can you set it to go from /public/dashboard to /dashboard directly?
Awesome bro
Thanks 🤗
how can you set it from /public/dashboard to /dashboard directly? My routes are starting at "/"
Best tutorial, thanks 👍
You're welcome!
which database extension did you use?
It’s called Database Client! There are multiple available through the extensions market
Awesome as always dude 😉😉
How to perform multiple authentication using guard in breeze. please make a video
Definitely will do in the future :)
@@codewithdary future has no limit but i hope you will record soon 🤭
There are so many topics that I have to say that I'll do it in the future, otherwise students expect the tutorial they want next week... 😂
help im getting this error when i try to implement the MustVerifyEmail i followed the steps.
Connection could not be established with host "mailpit:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailpit failed: No such host is known.
You have most likely not set your environment credentials correctly or double :)
I am confused on how laravel default store function determines if the credentials are right or wrong please elaborate..
By using the validate() method on the $request object:
$request->validate([
'name' => ['required', 'string', 'max:255'],
'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],
'password' => ['required', 'confirmed', Rules\Password::defaults()],
]);
@@codewithdary this i guess validates if the request has any email and password, but how does it checks if it matches with the one on the database, Sorry for asking such question, I just got a bit confused, Thank you for replying though
By adding unique:users, where you are basically saying that the email should be unique on the table users. There's no need to check for a password match in the database.
@@codewithdary Sorry I guess there has been a bit of confusion, isn't it when we resister we want the framework to identify if email is unique, I guess the part you're telling is for register, I really didn't make my question and function being used clear I guess, is the process same wile login in, how it verifies if the user already exists on the table
The verification part didn't work on me it keeps prompting this error:
Connection could not be established with host "mailhog:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailhog failed: No such host is known.
NVM: I got it fixed by modifying the mail.php and env file to mailtrap smtp :)
Haha good that you found it man :)
I get an error
Illuminate\database \queryExpectations
Could not find driver (SQL: select * from information_schema. Tables where table_schema = kajointdb and table_name = migrations and table_type = 'BASE TABLE')
This is when I try to run php artisan migrate
what is the solution of this error in laravel breeze installation:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/breeze[v1.19.0, ..., v1.19.2] conflict with laravel/framework your php version (8.0.12) does not satisfy that requirement.
- laravel/framework is locked to version v9.22.1 and an update of this package was not requested.
- Root composer.json requires laravel/breeze ^1.19 -> satisfiable by laravel/breeze[v1.19.0, ..., 1.x-dev].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require laravel/breeze:*" to figure out if any version is installable, or "composer require laravel/breeze:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
This error occurs because Laravel Breeze version 1.20.0 and above require PHP version 8.1.0 or higher, but your current PHP version is 8.0.12. To resolve this issue, you can either upgrade your PHP version to 8.1.0 or higher or use an older version of Laravel Breeze that is compatible with your current PHP version. Additionally, laravel/breeze versions 1.19.0 to 1.19.2 conflict with laravel/framework version 9.37.0 or higher, so you will need to use a version of laravel/breeze that is compatible with your version of laravel/framework.
Thanks for amazing video Dary.
Will you please share which visual studio extensions you use?
Thank you Vivek. Here you'll find a video where I setup Vs code: ruclips.net/video/Z2atp-ZUukQ/видео.html
@@codewithdary I have already watched this one... Thanks
we can not discuss how to show email password when we checked remember me check box
I don’t get it
@@codewithdary when we checked remember me checkbox the input box value should not disappear from the input box in login page....
The value of input box has disappear
How to show value in input box for email and password by checked check box remember me
'Connection could not be established with host "mailhog:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailhog failed: No such host is known.'
How can I solve it?
you need to add this 127.0.0.1 mailhog in your hosts file and change this MAIL_HOST=0.0.0.0 in .env file or use MAIL_HOST=localhost
also you can check if your mailhog is enabled
sudo service mailhog status
To enable:
sudo systemctl enable mailhog
To start:
sudo systemctl start mailhog
Thank you so much!
Thank You Dary!
You are so welcome!
Thanks darry :)
You're welcome 😊
Good day sir, i have a question. After installing the laravel breeze i'm having an error when running the npm run dev. Please help me, thank you sir.
What error?
Check your package.json to see if it is valid JSON.
For instance, if you have a dangling comma after the last item in a bracket set {}, like...
"tailwindcss": "^3.0.18", }
it can cause a problem when you run an artisan command. It can give you an error much like
`ErrorException: array_key_exists() expects parameter 2 to be array, null given`
A misplaced comma can confuse artisan into expecting one more thing.
for npm first you need to install node js then your npm will work
Thanks
Welcome!
the logo change didn't worked for me...
Cache clear?
@@codewithdary yep
+1 Sub from me!
Thank you so much Thayagan!
im getting thisa error and not sure why
Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #5 ($port) must be of type ?int, string given, called in /Users/cabrera31/Desktop/workspace/laravel_breeze/laravel_bre/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 174
I was setting up the email verification and this issue appeared. I was following the instructions from the video too.
after run :
php artisan breeze:install
I get this error:
ErrorException
copy(C:\xampp\htdocs\promotion_project\Promotions_1\backup 30 Nov\Promotions
outes/web.php): Failed to open stream: Permission denied
at C:\xampp\htdocs\promotion_project\Promotions_1\backup 30 Nov\Promotions\vendor\laravel\breeze\src\Console\InstallsBladeStack.php:54
could you help me please?
According to Stackoverflow:
Solved the problem with this solution, clarifying that if you have Windows, you apply lines 1 and 3 and it works the same.
php artisan cache:clear
chmod -R 777 storage/
composer dump-autoload