Download the PHP package tourze/symfony-routing-auto-loader-bundle without Composer
On this page you can find all versions of the php package tourze/symfony-routing-auto-loader-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tourze/symfony-routing-auto-loader-bundle
More information about tourze/symfony-routing-auto-loader-bundle
Files in tourze/symfony-routing-auto-loader-bundle
Package symfony-routing-auto-loader-bundle
Short Description Symfony bundle for automatic routing enhancement and auto-loading
License MIT
Informations about the package symfony-routing-auto-loader-bundle
Symfony Routing Auto Loader Bundle
中文
A Symfony bundle for automatically loading custom route collections via tagged services. This bundle allows you to define and register your own route loaders, which will be automatically merged into the application's routing system.
Features
- Auto-discover and load custom route collections via service tags
- Supports multiple route loaders
- Seamless integration with Symfony's routing component
- Simple interface for defining custom route providers
Installation
Requirements
- PHP 8.1+
- Symfony 6.4+
Install via Composer
Quick Start
-
Define a class implementing
RoutingAutoLoaderInterface -
Register your loader as a service
- Routes will be auto-included in your app
Documentation
- Implement the
RoutingAutoLoaderInterfaceand tag your service withrouting.auto.loader. - All tagged services will be called and their routes merged into the main collection.
- Advanced: You can create multiple loaders for different modules or route groups.
Contribution
Contributions are welcome! Please submit issues or pull requests. Ensure code style and tests pass before submitting.
License
MIT License. See LICENSE for details.
Changelog
See the releases page for changelog and upgrade notes.
All versions of symfony-routing-auto-loader-bundle with dependencies
symfony/dependency-injection Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/routing Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/symfony-dependency-service-loader Version 1.*