Advanced Routing
YFlite supports dynamic routing parameters:
:id- Numeric ID matching:slug- Alphanumeric, dash, and underscore matching:any- Matches any characters except/:all- Matches all characters. Use as wildcard.
\[ \text{Route Pattern} \rightarrow \text{Regex translation} \]
Example:
Route::get('/docs/:any', [DocsController::class, 'show']);