Concept Flow - Route middleware
Request comes in
Route matched
Middleware stack starts
Middleware 1: Check condition
Yes No
Pass
Middleware 2: Next check
Controller or final handler
Response sent back
When a request matches a route, Laravel runs middleware in order. Each middleware can allow the request to continue or stop it with a response.