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

Поділитися
Вставка
  • Опубліковано 10 вер 2024

КОМЕНТАРІ • 91

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

  • @Sahrokh
    @Sahrokh 2 роки тому +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.

  • @ibrownlad
    @ibrownlad Рік тому +1

    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.

  • @allen86333
    @allen86333 Рік тому +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  Рік тому

      Great to hear Upendra, thank you so much

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

  • @Dev_Jet
    @Dev_Jet 2 роки тому +2

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

  • @comminatinmarkitingdealwit5614
    @comminatinmarkitingdealwit5614 9 місяців тому +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  9 місяців тому

      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.

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

  • @vinodpatidar9314
    @vinodpatidar9314 2 роки тому +1

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

  • @AabaBeel
    @AabaBeel 11 місяців тому +1

    Great video. Your new subscriber from Pakistan💚

  • @davidson7838
    @davidson7838 2 роки тому +1

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

  • @davidson7838
    @davidson7838 Рік тому +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

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

    • @davidson7838
      @davidson7838 Рік тому

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

    • @davidson7838
      @davidson7838 Рік тому

      ua-cam.com/video/jdKZG4V-hsw/v-deo.html may be you will get a better idea :)

  • @atgs-geraldterencio8607
    @atgs-geraldterencio8607 19 днів тому

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

  • @zeeu
    @zeeu Рік тому +2

    You are a herooooooooo

  • @lijinv674
    @lijinv674 2 роки тому +2

    Expecting more and new videos in Laravel

    • @codewithdary
      @codewithdary  2 роки тому +1

      Won't happen! Symfony course is coming :)

  • @user-nx3im6lz3b
    @user-nx3im6lz3b Рік тому +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.

  • @serkantackran4238
    @serkantackran4238 2 роки тому +1

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

  • @ramon4756
    @ramon4756 Рік тому +1

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

  • @user-ld4fr9ft6t
    @user-ld4fr9ft6t Рік тому +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!

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

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

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

  • @ShakeelAhmed-jk7cn
    @ShakeelAhmed-jk7cn 2 роки тому +1

    Best tutorial, thanks 👍

  • @Andi0391
    @Andi0391 Рік тому

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

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

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

  • @lijinv674
    @lijinv674 2 роки тому +2

    Awesome bro

  • @andybast4566
    @andybast4566 Рік тому

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

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

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

  • @newagene8276
    @newagene8276 Рік тому +1

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

    • @codewithdary
      @codewithdary  Рік тому +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 Рік тому

      @@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  Рік тому

      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 Рік тому

      @@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 2 роки тому +1

    Thanks darry :)

  • @kovalus
    @kovalus 2 роки тому

    Thank You Dary!

  • @jjplays404
    @jjplays404 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 :)

    • @jjplays404
      @jjplays404 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... 😂

  • @topevol39
    @topevol39 2 роки тому +1

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

  • @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 2 роки тому

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

    • @codewithdary
      @codewithdary  2 роки тому +1

      Thank you Vivek. Here you'll find a video where I setup Vs code: ua-cam.com/video/Z2atp-ZUukQ/v-deo.html

    • @Viveksharmaa
      @Viveksharmaa 2 роки тому

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

  • @thayaganthusiyanthan9708
    @thayaganthusiyanthan9708 Рік тому +1

    +1 Sub from me!

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