Registry / networking / aura-router

aura-router

JSON →
library3.4.2phppackagistunverified

Powerful, flexible web routing for PSR-7 requests.

composer require aura/router
INSTALL
IMPORT
SIG · AURA-ROUTER
A
aura-router
networkingphpv3.4.2
harness data pending
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.

Upgrade
Version history
3.4.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
34
OpenAI (training)
1
Resources
aura-router — pip install aura-router · libregistry