denetorus / galaxy-routing
Segment-based routing with lazy adapter instantiation.
Requires
- php: >=8.4
- denetorus/galaxy-result: ^0.2.0
Requires (Dev)
- phpunit/phpunit: ^13.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-22 09:22:50 UTC
README
Русский · ADR-001 — Architecture
GalaxyRouting selects one adapter using exact or longest-prefix segment matching and dispatches the original input to it. Namespace: Galaxy\Routing.
The complete architecture, public API, configuration, CLI rules, built-in commands, presentation boundaries, setup commands and executable example are defined in ADR-001.
Requirements: PHP >=8.4 and denetorus/galaxy-result ^0.2.0. Development dependency: phpunit/phpunit ^13.4.
Installation
Install the published package from Packagist:
composer require denetorus/galaxy-routing:0.1.0
Composer also installs the required GalaxyResult dependency. No custom repository configuration is needed.
License: MIT.