Тёмный

Laravel 11 Routing: API, Versioning and Custom Routes 

Laravel Daily
Подписаться 141 тыс.
Просмотров 12 тыс.
50% 1

Let's discuss a few routing changes in Laravel 11. You would customize the routing files and their settings in the bootstrap/app.php
Links mentioned:
- My course "How to Build Laravel 11 API From Scratch" laraveldaily.com/course/api-l...
- Laravel API Versioning: All You Need To Know About V1/V2 laraveldaily.com/post/laravel...
- - - - -
Support the channel by checking out my products:
- My Laravel courses: laraveldaily.com/courses
- Filament examples: filamentexamples.com
- Livewire Kit Components: livewirekit.com
- - - - -
Other places to follow:
- My weekly Laravel newsletter: us11.campaign-archive.com/hom...
- My personal Twitter: / povilaskorop

Хобби

Опубликовано:

 

20 мар 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@user-zz5un9ov8j
@user-zz5un9ov8j 2 месяца назад
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!
@k1r0shis-eye-_66
@k1r0shis-eye-_66 3 месяца назад
Gracias amigo 🇲🇽🇲🇽
@andriusgeciauskas3154
@andriusgeciauskas3154 3 месяца назад
geras video dekui!
@EinLinuus
@EinLinuus 3 месяца назад
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 3 месяца назад
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
@jpandagaming5995
@jpandagaming5995 3 месяца назад
save my life as usual
@sayfiddinergashev4764
@sayfiddinergashev4764 3 месяца назад
Hello Mr Povilas thank you for your videos. Can you do video instruction about laravel reverb package?
@LaravelDaily
@LaravelDaily 3 месяца назад
Planning a full course on that, in a few weeks.
@shaabanmwanjoge7100
@shaabanmwanjoge7100 3 месяца назад
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 3 месяца назад
Sorry I don't have time for such personal consultations. Maybe try putting out more details into Laracasts forum question?
@rashidp-fw8zw
@rashidp-fw8zw 3 месяца назад
how to register module routes in laravel 11
@eudymercedes6565
@eudymercedes6565 3 месяца назад
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 3 месяца назад
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.
@raxmatulloerkinov8488
@raxmatulloerkinov8488 3 месяца назад
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 3 месяца назад
I just use Laravel Sanctum for authentication, I don't remember when was the last time I worked directly with JWT.
@mh5854
@mh5854 3 месяца назад
Sanctum is using jwt by itself
@vivekwah
@vivekwah 3 месяца назад
I find passport still better for APIs
@mh5854
@mh5854 3 месяца назад
@@vivekwah why u think passport is better? Than sanctum
@rezahosseinpour1969
@rezahosseinpour1969 3 месяца назад
🙏🙏🙏🙏🙏
@davidmichiels8501
@davidmichiels8501 3 месяца назад
What about an api subsomain route ?
@LaravelDaily
@LaravelDaily 3 месяца назад
Should be the same syntax as Laravel 10
@jonwinder6622
@jonwinder6622 10 дней назад
Who's here because RouteServiceProvider is no long in 11?
@ArshAudioBooks
@ArshAudioBooks 3 месяца назад
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 3 месяца назад
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 3 месяца назад
@@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 3 месяца назад
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 3 месяца назад
@@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 3 месяца назад
It's our paid closed-source product quickadminpanel.com
@ilyasfarawe8216
@ilyasfarawe8216 3 месяца назад
Tbh these changes aren't needed.
Далее
Top 5 Laravel "Bad Practices" (My Opinion)
10:32
Просмотров 19 тыс.
Laravel 11 API in 13 minutes | Sanctum
13:49
Просмотров 11 тыс.
Who Can Break Most Walls? Ep.2 | Brawl Stars
00:26
Просмотров 1,7 млн
Don't throw exceptions in C#. Do this instead
18:13
Просмотров 252 тыс.
Laravel Service Providers: All You Need to Know
13:13
File Upload in Laravel: Main Things You Need To Know
13:58
NEW Laravel 11: Review of 11 Features/Changes
9:50
Просмотров 26 тыс.
Laravel vs React
9:40
Просмотров 47 тыс.
Laravel 11: Multi-Tenancy with Multiple Databases
8:23
В семье появился подросток!
0:15
🫓 Xorazim guch 💪  #littos
0:14
Просмотров 9 млн
Who has won ?? 😀 #shortvideo #lizzyisaeva
0:24
Просмотров 61 млн