PHPackages                             netbull/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. [Framework](/categories/framework)
4. /
5. netbull/routing-bundle

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

netbull/routing-bundle
======================

Load your Symfony routes with a simple service.

04PHP

Since Jan 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/netbull/RoutingBundle)[ Packagist](https://packagist.org/packages/netbull/routing-bundle)[ RSS](/packages/netbull-routing-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

RoutingBundle
=============

[](#routingbundle)

[![Build Status](https://camo.githubusercontent.com/99e2390dcac1ef60c7d1a9fd8af303d43fa55b9bdf10f4a08f374bf1b3c7995f/68747470733a2f2f7472617669732d63692e6f72672f6e657462756c6c2f526f7574696e6742756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/netbull/RoutingBundle)

To add routes you usually need to add few lines to `config/routing.yml`.

**Thanks to this router, you can add them easily as via service loader**.

### Step 1: Download the Bundle

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

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require netbull/routing-bundle
```

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)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
