PHPackages                             sip/dynamic-connection-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. [CLI &amp; Console](/categories/cli)
4. /
5. sip/dynamic-connection-bundle

ActiveSymfony-bundle[CLI &amp; Console](/categories/cli)

sip/dynamic-connection-bundle
=============================

Allows you to enable/disable bundles via the command line

05PHP

Since May 12Pushed 13y ago1 watchersCompare

[ Source](https://github.com/SIProject/SIPDynamicConnectionBundle)[ Packagist](https://packagist.org/packages/sip/dynamic-connection-bundle)[ RSS](/packages/sip-dynamic-connection-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Dynamic enable bundles
======================

[](#dynamic-enable-bundles)

[![Build Status](https://camo.githubusercontent.com/a1d4ba7037271850ed29b62a23a3571c4127558b5f54bdf40950cbb6ec651c33/68747470733a2f2f7472617669732d63692e6f72672f534950726f6a6563742f53495044796e616d6963436f6e6e656374696f6e42756e646c652e706e67)](https://travis-ci.org/SIProject/SIPDynamicConnectionBundle)

Allows you to enable/disable bundles via the command line

Installation
============

[](#installation)

1. command to add the bundle to your composer.json and download package.

---

```
$ composer require "sip/dynamic-connection-bundle": "dev-master"
```

2. Configuration:

---

```
# app/config/config.yml
sip_dynamic_connection:
    # All Default configuration:
    # app_kernel_path: /AppKernelDynamic.php
    # config_path: /config/resources/dynamic.yml
    # routing_path: /config/routing_dynamic.yml
```

3. Include config file for dynamic configuration

---

```
# app/config/config.yml
imports:
    - { resource: resources/dynamic.yml }
```

4. Include routing file for dynamic routing

---

```
# app/config/routing.yml
_dynamic:
    resource: routing_dynamic.yml
```

4. Add files to configure and enable the plug-bundles

---

```
$ touch app/AppKernelDynamic.php
$ touch app/config/resources/dynamic.yml
$ touch app/config/routing_dynamic.yml
```

5. Enable the bundle inside the kernel.

---

```
