Group & Organize Your Routes | Learn Laravel The Right Way

preview_player
Показать описание
In this episode of "Learn Laravel The Right Way," we explore Laravel Route Groups and how they help you organize and manage your routes. Learn to group routes by shared attributes like URI prefixes, controllers, and names, keeping your routes file clean and efficient. We’ll also cover creating custom route files, adding nested groups, and using Artisan to check your routes.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Like the video
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
THANK YOU!

🛠️ TOOLS & SERVICES I USE

LESSON - 13 - RESOURCES

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
Рекомендации по теме
Комментарии
Автор

Thank you GIO for all of your efforts in this course and in PHP course.

muhmmadusmananwar
Автор

This course is a great source after following the laracast tutorial. Getting the basics right, and finetuning them with extar tips from Gio. Good stuff

Bsser
Автор

I may very well need to organize some of my routes in an existing project cause my web.php has a lot of routes. Thank you again Gio for these lessons. You make me want to write cleaner code as most of the projects I've done have been done alone. I learn a whole lot from you. Thanks Gio

Zubbee
Автор

I really didn’t know about the grouping of routing methods - also I am following this session for the next video on middleware. Looking forward to the next vid!

Staeufer
Автор

keep up the good work. please keep yourself motivated by making such quality content. don't bother about views its secondary thing and eventually you will rock. infact you are rocking already

harmankaur
Автор

Thank you for sharing your knowledge.. Very informative content

bariwankhar
Автор

I like naming routes because it is way of detecting typos

paulfontaine
Автор

I am working on laravel v10 - in my app.php file i dont see the withRouting method at all 🤔Any thoughts pls, How to register transactions.php in that case

alaguarunachalam
Автор

Hi, i really liked your first php course, and i would like to approach this one, but as soon as it's finished, in order to not have to wait for each new topic. Could you please tell how much approximately it will take to publish the whole course?

olegeliseev
Автор

Lecturer i have two question
1- what if i create same route file named "transactions" as you did then require/include thebase route by adding commant before the require file line that says /* from transaction */ rather than registering the app file?

2- what if my routes file grows and i need to create another route file example "invoices" then i need to register it the app app file same as you did can i chain another "then" methode and tell the base_path as you did it, more than one time?

maankobciye
Автор

Will the course be completed or are you satisfied here?
Thank you

talallalii
Автор

I think instruction to 'Register routes in app.php' somewhat confusing.
I was expecting you to add something to web.php, like or something similar..

Simple, but confusing :}

pastuh