Laravel Breeze Tutorial | Learn how Laravel Breeze Works | Enable Verification with Laravel Breeze

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 93

  • @codewithdary
    @codewithdary  2 года назад +1

    LETS CONNECT THROUGH INSTAGRAM.
    instagram.com/codewithdary

    • @mecloud9349
      @mecloud9349 2 года назад

      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:

  • @allan_vega
    @allan_vega 25 дней назад +1

    Excellent video 🎉

  • @ibrownlad
    @ibrownlad Год назад +2

    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

    • @codewithdary
      @codewithdary  Год назад

      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.

  • @Sahrokh
    @Sahrokh 3 года назад +4

    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.

  • @allen86333
    @allen86333 2 года назад +1

    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.

    • @codewithdary
      @codewithdary  2 года назад

      Great to hear Upendra, thank you so much

  • @Dev_Jet
    @Dev_Jet 2 года назад +2

    Indeed, a great tutorial about Laravel Breeze. Thank you so much for this Dary! 🙏

  • @AabaBeel
    @AabaBeel Год назад +1

    Great video. Your new subscriber from Pakistan💚

  • @comminatinmarkitingdealwit5614
    @comminatinmarkitingdealwit5614 Год назад +1

    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

    • @codewithdary
      @codewithdary  Год назад

      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.

  • @zeeu
    @zeeu Год назад +2

    You are a herooooooooo

  • @vinodpatidar9314
    @vinodpatidar9314 2 года назад +1

    Thanks Dary!! Great tutorial for understanding the flow of all authentication related stuff.

  • @issamtaki7302
    @issamtaki7302 2 года назад +2

    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

    • @codewithdary
      @codewithdary  2 года назад

      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! :)

  • @CuftaTv
    @CuftaTv 2 года назад +1

    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.

    • @codewithdary
      @codewithdary  2 года назад +1

      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.

  • @davidsonzed
    @davidsonzed 2 года назад +1

    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.

    • @codewithdary
      @codewithdary  2 года назад +2

      Hi David! Thank you so much. I'm working on a Spatie Roles/Permission tutorial :)

    • @davidsonzed
      @davidsonzed 2 года назад

      @@codewithdary Thank you very much, please try to make a more visual way to add permissions for each new model 💗

    • @davidsonzed
      @davidsonzed 2 года назад

      ruclips.net/video/jdKZG4V-hsw/видео.html may be you will get a better idea :)

  • @NolanJohnCabulera
    @NolanJohnCabulera Год назад +1

    Awesome. Thank you for this video

  • @reddev8906
    @reddev8906 2 года назад +3

    How did you preview the database in vscode? which extension did you use?

    • @codewithdary
      @codewithdary  2 года назад +1

      Add a VS code extension called Database Client!

  • @davidsonzed
    @davidsonzed 2 года назад +1

    Hey Dary, this is really interesting video, you have explained everything in very detail. great content. I really liked it.

  • @lijinv674
    @lijinv674 2 года назад +2

    Expecting more and new videos in Laravel

    • @codewithdary
      @codewithdary  2 года назад +1

      Won't happen! Symfony course is coming :)

  • @ashifahamed9916
    @ashifahamed9916 Месяц назад

    very informative

  • @atgs-geraldterencio8607
    @atgs-geraldterencio8607 3 месяца назад

    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.

  • @serranomarkjosepht.6757
    @serranomarkjosepht.6757 Год назад +1

    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
      @codewithdary  Год назад

      You have most likely not set your environment credentials correctly or double :)

  • @serkantackran4238
    @serkantackran4238 3 года назад +1

    Thank you for this useful course.
    Please make another Laravel login with facebook course.

  • @adamadam-s6i
    @adamadam-s6i Год назад +1

    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.

    • @codewithdary
      @codewithdary  Год назад

      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.

  • @nikyabodigital
    @nikyabodigital 2 года назад +1

    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 :)

    • @codewithdary
      @codewithdary  2 года назад

      Haha good that you found it man :)

  • @lijinv674
    @lijinv674 2 года назад +2

    Awesome bro

  • @ice-KE
    @ice-KE 2 года назад

    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

  • @ramon4756
    @ramon4756 Год назад +1

    Help i cant change add/change any tailwind css on /dashboard blade. I use docker and breeze

  • @tanan71
    @tanan71 2 года назад +1

    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

    • @codewithdary
      @codewithdary  2 года назад +1

      Definitely coming soon!! Thank you.

  • @ShakeelAhmed-jk7cn
    @ShakeelAhmed-jk7cn 3 года назад +1

    Best tutorial, thanks 👍

  • @Andi0391
    @Andi0391 2 года назад

    how can you set it from /public/dashboard to /dashboard directly? My routes are starting at "/"

  • @andybast4566
    @andybast4566 2 года назад

    how can you set it to go from /public/dashboard to /dashboard directly?

  • @jtech04
    @jtech04 2 года назад

    Awesome as always dude 😉😉
    How to perform multiple authentication using guard in breeze. please make a video

    • @codewithdary
      @codewithdary  2 года назад +1

      Definitely will do in the future :)

    • @jtech04
      @jtech04 2 года назад

      @@codewithdary future has no limit but i hope you will record soon 🤭

    • @codewithdary
      @codewithdary  2 года назад

      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... 😂

  • @JahidulIslam-wc1dz
    @JahidulIslam-wc1dz 2 года назад +1

    '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?

    • @codewithdary
      @codewithdary  2 года назад +1

      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

    • @JahidulIslam-wc1dz
      @JahidulIslam-wc1dz 2 года назад

      Thank you so much!

  • @Mahid876
    @Mahid876 2 года назад +1

    which database extension did you use?

    • @codewithdary
      @codewithdary  2 года назад +1

      It’s called Database Client! There are multiple available through the extensions market

  • @Viveksharmaa
    @Viveksharmaa 3 года назад

    Thanks for amazing video Dary.
    Will you please share which visual studio extensions you use?

    • @codewithdary
      @codewithdary  3 года назад +1

      Thank you Vivek. Here you'll find a video where I setup Vs code: ruclips.net/video/Z2atp-ZUukQ/видео.html

    • @Viveksharmaa
      @Viveksharmaa 3 года назад

      @@codewithdary I have already watched this one... Thanks

  • @newagene8276
    @newagene8276 2 года назад +1

    I am confused on how laravel default store function determines if the credentials are right or wrong please elaborate..

    • @codewithdary
      @codewithdary  2 года назад +1

      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()],
      ]);

    • @newagene8276
      @newagene8276 2 года назад

      @@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

    • @codewithdary
      @codewithdary  2 года назад

      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.

    • @newagene8276
      @newagene8276 2 года назад

      @@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

  • @stackpkofficial8518
    @stackpkofficial8518 3 года назад +1

    Thanks darry :)

  • @kovalus
    @kovalus 3 года назад

    Thank You Dary!

  • @mecloud9349
    @mecloud9349 2 года назад +1

    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.

    • @codewithdary
      @codewithdary  2 года назад

      What error?

    • @tuckertucker1
      @tuckertucker1 2 года назад

      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.

    • @NaveedAhmed-xp3nu
      @NaveedAhmed-xp3nu 2 года назад

      for npm first you need to install node js then your npm will work

  • @dheeraj_kumar_1508
    @dheeraj_kumar_1508 Год назад +1

    we can not discuss how to show email password when we checked remember me check box

    • @codewithdary
      @codewithdary  Год назад +1

      I don’t get it

    • @dheeraj_kumar_1508
      @dheeraj_kumar_1508 Год назад

      @@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

  • @rezwansaki
    @rezwansaki 2 года назад +1

    Thanks

  • @topevol39
    @topevol39 2 года назад +1

    the logo change didn't worked for me...

  • @thayaganthusiyanthan9708
    @thayaganthusiyanthan9708 Год назад +1

    +1 Sub from me!

  • @dannycabrera9570
    @dannycabrera9570 2 года назад

    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.

  • @yaseenalheetyalheety3082
    @yaseenalheetyalheety3082 Год назад +1

    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?

    • @codewithdary
      @codewithdary  Год назад

      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