Registry / web-framework / hoa-router

hoa-router

JSON →
library3.17.01.14phppackagistunverified

The Hoa\Router library.

composer require hoa/router
INSTALL
IMPORT
SIG · HOA-ROUTER
H
hoa-router
web-frameworkphpv3.17.01.14
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.

Router
use Hoa\Router\Router;

Creates a simple route that responds to GET requests.

use Hoa\Router\Router; $router = new Router(); $router->addRoute('GET', '/hello/{name}', function($name) { echo 'Hello ' . $name; });
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.17.01.14latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
hoa-router — pip install hoa-router · libregistry