| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Covers how `Route::native()->middleware()` and route groups apply on every navigation, what the synthesized request does and does not carry, which request-lifecycle middleware is skipped and how to opt your own out, how a refusal maps onto native navigation, and why `Native::visit()` rather than `Native::test()` is what exercises a guard. Pairs with NativePHP/mobile-air#252.
The route is bound to the synthesized request, not merely resolvable, so route parameters and route-model binding work — worth stating, since SubstituteBindings runs on every navigation. That happens more often than the previous wording implied: registering native routes through `withRouting(web: routes/mobile.php)` puts every one of them in the `web` group, so anything an app has added to that group runs per navigation too.
| Back | FazBrowse Home | New Git URL |
Pairs with NativePHP/mobile-air#252 / NativePHP/mobile-air#348, which makes Route::native()->middleware() run on every navigation rather than only on cold start.
New page at the-basics/middleware (order 153, right after Routing), plus a pointer to it from the Routing page's "Registering routes" section.
Covers:
Should land with (or just after) the mobile-air PR, since it documents behavior that doesn't exist yet.