Enables registration of other extensions in config file
- Nette Framework 2.0.5 (because of nette/nette#740)
- Get the source code from Github or via Composer (
vojtech-dobes/extensions-list
). - Register as compiler extension.
$configurator->onCompile[] = function ($configurator, $compiler) {
$compiler->addExtension('extensions', new VojtechDobes\ExtensionsList);
};
List extensions in appropriate config section:
extensions:
dibi: DibiNetteExtension
redis: Kdyby\Extension\Redis\DI\RedisExtension
That's it.