PHPackages                             tourze/symfony-routing-auto-loader-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. tourze/symfony-routing-auto-loader-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

tourze/symfony-routing-auto-loader-bundle
=========================================

Symfony bundle for automatic routing enhancement and auto-loading

1.0.0(8mo ago)016.2k20MITPHPCI passing

Since Apr 27Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/tourze/symfony-routing-auto-loader-bundle)[ Packagist](https://packagist.org/packages/tourze/symfony-routing-auto-loader-bundle)[ RSS](/packages/tourze-symfony-routing-auto-loader-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (13)Versions (4)Used By (20)

Symfony Routing Auto Loader Bundle
==================================

[](#symfony-routing-auto-loader-bundle)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Stable Version](https://camo.githubusercontent.com/17b034a3d0d001b95b9218c38ab2b58592f558a26c3c07c4f8b975c4977ddc27/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f73796d666f6e792d726f7574696e672d6175746f2d6c6f616465722d62756e646c652e737667)](https://packagist.org/packages/tourze/symfony-routing-auto-loader-bundle)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![PHP Version Require](https://camo.githubusercontent.com/77625869d48e999bce63905dee438ef2bf6d47e96e36b39d25b270ba0daa7502/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f73796d666f6e792d726f7574696e672d6175746f2d6c6f616465722d62756e646c652e737667)](https://packagist.org/packages/tourze/symfony-routing-auto-loader-bundle)[![Coverage Status](https://camo.githubusercontent.com/b3545ae1bcdb4ea486f71f87b43001e82dd21933bc8035d44601706c851265da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d627269676874677265656e2e737667)](https://github.com/tourze/php-monorepo)

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
--------

[](#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
------------

[](#installation)

### Requirements

[](#requirements)

- PHP 8.1+
- Symfony 6.4+

### Install via Composer

[](#install-via-composer)

```
composer require tourze/symfony-routing-auto-loader-bundle
```

Quick Start
-----------

[](#quick-start)

1. **Define a class implementing `RoutingAutoLoaderInterface`**

```
use Tourze\RoutingAutoLoaderBundle\Service\RoutingAutoLoaderInterface;
use Symfony\Component\Routing\RouteCollection;

class MyRouteLoader implements RoutingAutoLoaderInterface
{
    public function autoload(): RouteCollection
    {
        $routes = new RouteCollection();
        // add routes ...
        return $routes;
    }
}
```

2. **Register your loader as a service**

```
# config/services.yaml
services:
    App\Routing\MyRouteLoader:
        tags: ['routing.auto.loader']
```

3. **Routes will be auto-included in your app**

Documentation
-------------

[](#documentation)

- Implement the `RoutingAutoLoaderInterface` and tag your service with `routing.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
------------

[](#contribution)

Contributions are welcome! Please submit issues or pull requests. Ensure code style and tests pass before submitting.

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for details.

Changelog
---------

[](#changelog)

See the [releases page](https://packagist.org/packages/tourze/symfony-routing-auto-loader-bundle#releases) for changelog and upgrade notes.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance64

Regular maintenance activity

Popularity25

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~94 days

Total

3

Last Release

245d ago

Major Versions

0.0.2 → 1.0.02025-10-31

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13899502?v=4)[tourze](/maintainers/tourze)[@tourze](https://github.com/tourze)

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tourze-symfony-routing-auto-loader-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tourze-symfony-routing-auto-loader-bundle/health.svg)](https://phpackages.com/packages/tourze-symfony-routing-auto-loader-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
