On the Laravel News blog they've posted a tutorial with some helpful tips for improving your routing in your Laravel-based application.
The Laravel router has a great, well-polished API when you first dive into Laravel as a beginner or newcomer to the framework. What follows is not anything hidden or new, but a few tips that should help you when you’re learning Laravel 5.
The documentation is excellent, and the tips that follow supplement and piece together a few parts that will help you get a quick jumpstart on learning how to use routing in your Laravel applications.
The tips include:
- Custom Namespaces
- Route Macros
- Debugging Routes
- Named Group Routes
Each of the tips include the code needed to implement them and a brief summary of why they're useful.