2. Grouped route example:php
3. Route with optional parameter example:php Route::get('/user/{id}/{name?}', function ($id, $name = null) { return "User ID: " . $id . ", Name: " . $name; }); ``` The PHP Route library is likely a standalone library that can be installed through Composer.