harmony-project / modular-routing
An implementation of the Symfony router using a customizable matching process optimized for reusable routes
Requires
- php: ^7.1
- psr/log: ^1.0
- symfony-cmf/routing: ^2.0
- symfony/config: ^3.4|^4.0
- symfony/event-dispatcher: ^3.4|^4.0
- symfony/http-foundation: ^3.4|^4.0
- symfony/routing: ^3.4|^4.0
- symfony/yaml: ^3.4|^4.0
- twig/twig: ^2.0
Requires (Dev)
- doctrine/common: ^2.5
- doctrine/orm: ^2.5
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-11-22 09:40:28 UTC
README
This component is part of the Harmony Project.
The ModularRouting component extends the Symfony Routing component with a new router using a customizable matching process that's optimized for reusable routes.
Features provided by this component are:
- Cache-enabled router
- Customizable mapping process
- Routing metadata configurable by XML, YAML
The ModularRouter
class included in this component can either be used as a
replacement of Symfony's Router
class or as an extension to it by using
Symfony's CMF ChainRouter
class. See HarmonyModularBundle
for integration with the Symfony framework.
Installation
This component is available as a package on Packagist:
composer require harmony-project/modular-routing
Resources
License
This component is released under the MIT license.