Laravel 11 Routing: API, Versioning and Custom Routes

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

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

  • @user-zz5un9ov8j
    @user-zz5un9ov8j 3 месяца назад +4

    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 5 месяцев назад +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  5 месяцев назад

      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

  • @jonwinder6622
    @jonwinder6622 Месяц назад +1

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

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

    Gracias amigo 🇲🇽🇲🇽

  • @raxmatulloerkinov8488
    @raxmatulloerkinov8488 5 месяцев назад +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  5 месяцев назад +6

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

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

      Sanctum is using jwt by itself

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

      I find passport still better for APIs

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

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

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

    how to register module routes in laravel 11

  • @shaabanmwanjoge7100
    @shaabanmwanjoge7100 5 месяцев назад +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  5 месяцев назад

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

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

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

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

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

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

    save my life as usual

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

    geras video dekui!

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

    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  5 месяцев назад

      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.

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

    What about an api subsomain route ?

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

      Should be the same syntax as Laravel 10

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

    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  5 месяцев назад

      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 5 месяцев назад

      @@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  5 месяцев назад +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 5 месяцев назад

      @@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  4 месяца назад

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

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

    🙏🙏🙏🙏🙏

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

    Tbh these changes aren't needed.