Laravel 11 Breeze Multi Authentication tutorial

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024
  • In this video tutorial we learn how to create a Laravel multi authentication application using breeze and livewire.
    Channel: / @laraphant
    GitHub Repo : github.com/jum...
    Twitter: / misikowilliam
    Facebook: / williamjumamisiko

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

  • @manishkrmaurya
    @manishkrmaurya 5 месяцев назад +3

    Hi, could you continue 2nd video for crud with add, edit, delete & list. if u want

  • @alkadoHs
    @alkadoHs 6 месяцев назад +3

    Thanks mr for a nice explanations but why making so many middleware just to redirect user based on the role?
    I think you had to make 1 middleware which can redirect user to a specific route based on his role.
    Just my opinion..

    • @laraphant
      @laraphant  6 месяцев назад +2

      Thanks, I agree just one middleware would do it

  • @nitrox-car
    @nitrox-car 4 месяца назад

    Hello, how do I fix this error App\Http\Middleware\Normal::handle(): Return value must be of type Symfony\Component\HttpFoundation\Response, none returned?

  • @nzproduction8919
    @nzproduction8919 5 месяцев назад

    I got the error: Target class [app\Http\Middleware\Admin] does not exist. Any help is appricated

  • @zackyhabibie3733
    @zackyhabibie3733 6 месяцев назад

    do u have video about deferences about livewire and livewire-funcional? and how to setting/using laravel-mongodb as the database... please

    • @laraphant
      @laraphant  6 месяцев назад

      when using volt, livewire option is the class based api (use of classes), while livewire-functional is the functional based api . On the issue of using mongo db you can check out this article www.mongodb.com/compatibility/mongodb-laravel-integration

  • @han07013
    @han07013 4 месяца назад

    Beautiful

  • @dmdk8301
    @dmdk8301 5 месяцев назад

    Why do u need 3 different middleware files with same content?
    Isnt it easier to make one - RoleMiddlleware or whatever and make the same?

    • @laraphant
      @laraphant  5 месяцев назад

      I agree with you

  • @elmorabetachraf4103
    @elmorabetachraf4103 4 месяца назад

    Thank you so much

  • @gyangach7493
    @gyangach7493 6 месяцев назад

    i use this but in blade code does not work... i use simple blade

    • @laraphant
      @laraphant  6 месяцев назад

      Your approach will definitely be different in this case

  • @giatechindo
    @giatechindo 6 месяцев назад

    you safe me brother, tks

    • @laraphant
      @laraphant  6 месяцев назад +1

      Glad to help

  • @artofeugeneseguiban2773
    @artofeugeneseguiban2773 6 месяцев назад +1

    Can you continue the google drive series 🥹👈

  • @derpina8330
    @derpina8330 3 месяца назад +1

    Are you Kenyan, by the way?

  • @renznormanpalma6312
    @renznormanpalma6312 5 месяцев назад

    can I make a 1 middleware for all? all the codes are almost the same for the middleware you've created.

    • @laraphant
      @laraphant  5 месяцев назад

      Yes, that is the recommended way

  • @SalakotPhilippines
    @SalakotPhilippines 5 месяцев назад +1

    Thank you @LaraPhat

  • @babarqb
    @babarqb 6 месяцев назад +3

    Very nice. I have one question why three separate middleware?

    • @laraphant
      @laraphant  6 месяцев назад

      Welcome, No specific reason actually, just what I thought at the moment. I get your point, one was enough

  • @hadooyy7307
    @hadooyy7307 6 месяцев назад +1

    thx man

  • @carlosmontiel7078
    @carlosmontiel7078 5 месяцев назад

    I dont understand when does it construct the database, when does it creates the database, should I create it on mysql first? with the name of the project? Sorry im new to laravel and looks very very superior.

    • @carlosmontiel7078
      @carlosmontiel7078 5 месяцев назад

      $ php artisan migrate, just do it so it runs the query

    • @laraphant
      @laraphant  5 месяцев назад +1

      The default database is SQLite and it's preconfigured also migrations for the default tables are automatically done. If you want to use myql instead you can change the database configurations in the .env file. Glad you like it

    • @raviel498
      @raviel498 5 месяцев назад +1

      When you do : php artisan migrate
      Laravel create the database automatically.
      Now if you want to change the database informations, like the name, or the password, you have to go to the " .env " file.
      And now you change the values.

    • @carlosmontiel7078
      @carlosmontiel7078 5 месяцев назад

      @@raviel498 Thanks raviel, I was struggling with that, and I already found that the same day on stackoverflow, I appreciate your comment

    • @carlosmontiel7078
      @carlosmontiel7078 5 месяцев назад

      @@laraphant It's getting harder to make all the code for me hehehe, but thanks for all my man. you big.

  • @lowlo417
    @lowlo417 6 месяцев назад

    Thanks a lot man