beastbytes / router-register
Define routes using attributes
Installs: 26
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/beastbytes/router-register
Requires
- php: ^8.3
- ext-mbstring: *
Requires (Dev)
- phpunit/phpunit: ^10.0
- vimeo/psalm: ^6.0
This package is auto-updated.
Last update: 2025-12-06 23:24:05 UTC
README
RouterRegister
RouterRegister allows routes to be defined in application source code using PHP Attributes amd Enumerations.
RouterRegister parses RouterRegister attributes and enumerations in application source code and generates an array of tree structures each of which represent the groups and routes, and their attributes (host and middleware), in a top level group as defined in the application Group Enumeration.
Installation
RouterRegister is installed as a dependency of a framework specific RouterRegister Writer package.
Documentation
Documentation is at https://beastbytes.github.io/router-register