Routing Laravel
summary
Shows how Laravel actually registers and matches routes with concrete commands and classes including php artisan route:list and php artisan route:cache explains the router boot path through the RouteServiceProvider and how Symfony Route compiles to regex used to match URLs demonstrates route model binding mechanics via the SubstituteBindings middleware and getRouteKeyName and shows reuse of the router to parse MQTT topics at nRise which is working in production recommends writing explicit routes, splitting files and using route caching in production and php artisan route:list compact for clarity
AI-written summary · about
chapters (15)
- 0:00Introduction and sponsor
- 2:27Talk overview and speaker intro
- 3:13Basics of Laravel routing
- 6:42Resource routes and HTTP verbs
- 9:10Route groups and nesting
- 13:30Web middleware and route service provider
- 16:38Advanced route registration methods
- 18:44Route naming and redirection
- 22:35Routing cycle deep dive
- 31:22Route matching and validation
- 41:19Route model binding explained
- 54:01Controller dispatch and dependency injection
- 57:11Reusing Symfony router logic
- 58:34Best practices for routing
- 1:02:04Final tips and Q&A setup
