PHPackages                             modera/routing-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. [API Development](/categories/api)
4. /
5. modera/routing-bundle

ActiveSymfony-bundle[API Development](/categories/api)

modera/routing-bundle
=====================

This bundle makes it possible for bundles to dynamically include routing files from within your bundles.

v5.0.0(1y ago)05.1k1MITPHPPHP &gt;=7.4

Since Jul 22Pushed 1y ago3 watchersCompare

[ Source](https://github.com/modera/ModeraRoutingBundle)[ Packagist](https://packagist.org/packages/modera/routing-bundle)[ RSS](/packages/modera-routing-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (4)Versions (20)Used By (0)

ModeraRoutingBundle
===================

[](#moderaroutingbundle)

This bundle makes it possible for bundles to dynamically include routing files so you don't need to manually register them in root `app/config/routing.yml` file.

Installation
------------

[](#installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

```
composer require modera/routing-bundle:5.x-dev
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

This bundle should be automatically enabled by [Flex](https://symfony.com/doc/current/setup/flex.html). In case you don't use Flex, you'll need to manually enable the bundle by adding the following line in the `config/bundles.php` file of your project:

```
