Laravel 11 Routing: API, Versioning and Custom Routes

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

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

  • @user-zz5un9ov8j
    @user-zz5un9ov8j 7 месяцев назад +5

    You are a life saver. Because of this video I know why my api routes didn't work. They removed it from the autoload in app.php. Thank you sir!

  • @EinLinuus
    @EinLinuus 8 месяцев назад +1

    I’m just learning Laravel and your videos are very helpful, great work! Speaking of APIs, I have a video suggestion: Can you make a tutorial on how to generate an OpenAPI spec (+ Swagger UI) for a Laravel Project?

    • @LaravelDaily
      @LaravelDaily  8 месяцев назад

      I already have a few videos on API docs generators: www.youtube.com/@LaravelDaily/search?query=openapi
      But not sure which of them are specifically for Swagger. This one is the classic that probably still works: github.com/DarkaOnLine/L5-Swagger

  • @Omar-p9r3c
    @Omar-p9r3c 3 месяца назад

    thank you, it works!

  • @shaabanmwanjoge7100
    @shaabanmwanjoge7100 8 месяцев назад +1

    i am a laravel developer for about 8 years i came to find that i most of the project i used to create have some common pattern so i think its time to put them in packages so i decided to write my first package but i get some difficulties on using other package to create my package. i was thinking of a new way to do my project using packages so am wondering if i can get a chance to discuss with you about this new approach of handling my projects. i will be happy to get the chance to talk with you

    • @LaravelDaily
      @LaravelDaily  8 месяцев назад

      Sorry I don't have time for such personal consultations. Maybe try putting out more details into Laracasts forum question?

  • @k1r0shis-eye-_66
    @k1r0shis-eye-_66 8 месяцев назад

    Gracias amigo 🇲🇽🇲🇽

  • @sayfiddinergashev4764
    @sayfiddinergashev4764 8 месяцев назад

    Hello Mr Povilas thank you for your videos. Can you do video instruction about laravel reverb package?

    • @LaravelDaily
      @LaravelDaily  8 месяцев назад +1

      Planning a full course on that, in a few weeks.

  • @raxmatulloerkinov8488
    @raxmatulloerkinov8488 8 месяцев назад +2

    Can you make a video how to use authentication by api, i mean how to create jwt tokens and verify them, adding custom payloads and setting them as global variables for laravel 11. Thanks

    • @LaravelDaily
      @LaravelDaily  8 месяцев назад +6

      I just use Laravel Sanctum for authentication, I don't remember when was the last time I worked directly with JWT.

    • @mh5854
      @mh5854 8 месяцев назад +1

      Sanctum is using jwt by itself

    • @vivekwah
      @vivekwah 8 месяцев назад

      I find passport still better for APIs

    • @mh5854
      @mh5854 8 месяцев назад

      @@vivekwah why u think passport is better? Than sanctum

  • @eudymercedes6565
    @eudymercedes6565 8 месяцев назад

    Hello, I love your videos, I have learned a lot from watching them,
    I am developing an application with Laravel 11 and Livewire 3, currently I have a component called visitors, I have a view that shows the active visitors, when I go to register a new visitor I need to make a query to a third party api from the same view to get the information and then fill the entry visitor form, I am trying to use this route Route::match(['get', 'post'], '/home', [Visitor::class])->name('home') ; but it doesn't work for me, any idea how I can achieve what I want?

    • @LaravelDaily
      @LaravelDaily  8 месяцев назад

      I've never used Route::match(), I always use Route::get() or Route::post().
      So not sure why it's not working for you, sorry.

  • @andriusgeciauskas3154
    @andriusgeciauskas3154 8 месяцев назад

    geras video dekui!

  • @rashidp-fw8zw
    @rashidp-fw8zw 8 месяцев назад

    how to register module routes in laravel 11

  • @davidmichiels8501
    @davidmichiels8501 8 месяцев назад

    What about an api subsomain route ?

    • @LaravelDaily
      @LaravelDaily  8 месяцев назад

      Should be the same syntax as Laravel 10

  • @jpandagaming5995
    @jpandagaming5995 8 месяцев назад

    save my life as usual

  • @jonwinder6622
    @jonwinder6622 5 месяцев назад +2

    Who's here because RouteServiceProvider is no long in 11?

  • @rezahosseinpour1969
    @rezahosseinpour1969 8 месяцев назад

    🙏🙏🙏🙏🙏

  • @ArshAudioBooks
    @ArshAudioBooks 8 месяцев назад

    can you make a video on how to make a dynamic form where user is allowed to make a table (in bg, user do not know about the table though), then based on the first dynamic form it automatically creates a second form which allows the user to enter details into the form which he created in first stage. meanwhile all this data that he enters in second stage gets automatically displayed in a page to the world. so, please try to do this. i can't find anything related to this in yt. laracasts is a no go. they do not reply

    • @LaravelDaily
      @LaravelDaily  8 месяцев назад

      Can you give an example of which fields would be in both forms? I need a real-life example that would be relevant to more people in the audience.

    • @ArshAudioBooks
      @ArshAudioBooks 8 месяцев назад

      @@LaravelDaily author, translation (of a book), description about the book. subject, meaning,purport, footnote/ comment, few more blank options. this are available in form 1. whatever i add in form 1 gets into the db and in a different page i can select it based on whatever i entered in first form. so first form is used as the fields of the tables.

    • @LaravelDaily
      @LaravelDaily  8 месяцев назад +1

      Oh the first form is for STRUCTURE and then the second form is with those fields? Then it's a HUGELY complex subject, we spent long months to build that logic in QuickAdminPanel for all possible fields and types, sorry I can't just "make a video" on something that took months to build.

    • @ArshAudioBooks
      @ArshAudioBooks 8 месяцев назад

      @@LaravelDaily oh yes you get it. but can you provide the quick admin panel you are talking about? or you talking about query builder?

    • @LaravelDaily
      @LaravelDaily  8 месяцев назад

      It's our paid closed-source product quickadminpanel.com

  • @razvancomsa2276
    @razvancomsa2276 16 дней назад

    I hate this sooo much >.< Everything is vastly changed from laravel 10.... Been struggling so much to set user/api/ route but seems like it's impossible

  • @ilyasfarawe8216
    @ilyasfarawe8216 8 месяцев назад

    Tbh these changes aren't needed.