PHPackages                             modera/module-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. modera/module-bundle

AbandonedArchivedSymfony-bundle

modera/module-bundle
====================

Adds support for dynamical bundles installation.

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

Since Jul 22Pushed 1y ago5 watchersCompare

[ Source](https://github.com/modera/ModeraModuleBundle)[ Packagist](https://packagist.org/packages/modera/module-bundle)[ RSS](/packages/modera-module-bundle/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelogDependencies (3)Versions (29)Used By (1)

ModeraModuleBundle
==================

[](#moderamodulebundle)

Makes it possible to dynamically install and inject new bundles to your AppKernel class when a new bundle is installed by composer. To make your bundle susceptible to automatic kernel installation please add similar lines to your `composer.json` file:

```
{
    "extra": {
        "modera-module": {
            "register-bundle": "MyCompany\\HelloWorldBundle\\MyCompanyHelloWorldBundle"
        }
    }
}
```

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

[](#installation)

### Step 1: Download the Bundle

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

```
composer require modera/module-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:

```
