Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
RouterContainer
✓ use Aura\Router\RouterContainer;
Create a simple route with Aura Router
use Aura\Router\RouterContainer;
$routerContainer = new RouterContainer();
$map = $routerContainer->getMap();
$map->get('hello', '/hello/{name}', function ($request, $response) {
$name = $request->getAttribute('name');
$response->getBody()->write("Hello, $name!");
return $response;
});
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.