Over at Envato Tuts Matthew Machuga published a video explaining Laravel’s router code. Going over Laravel’s internal code (and other people’s code in general) is always good method of learning new bits ‘n’ tricks.
In this lesson, we’ll explore the intricacies of Laravel Router. We’ll talk about the fundamentals of HTTP routing, before we go on to analyze some of the decisions and nuances in the design of Laravel Router. We’ll also talk about some of the awesome features that have been recently added to the router.