We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Sometimes you want to group some handlers under a specific prefix. The group() method does exactly that:
group()
$app->routes(function (Routes $routes) { $routes->group('/hello', function (Routes $routes) { $routes->get('/', /* */); $routes->group('/nested', function (Routes $routes) { $routes->post('/', /* */); }); }); });
Groups can be arbitrarily nested.
There was an error while loading. Please reload this page.