vojtech-dobes / extensions-list
Enables registration of other extensions in config file (for Nette Framework)
Installs: 425
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:nette-addon
Requires
- nette/nette: ~2.0.5
This package is not auto-updated.
Last update: 2024-10-26 13:01:16 UTC
README
Enables registration of other extensions in config file
License
Dependencies
- Nette Framework 2.0.5 (because of nette/nette#740)
Installation
- 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); };
Usage
List extensions in appropriate config section:
extensions:
dibi: DibiNetteExtension
redis: Kdyby\Extension\Redis\DI\RedisExtension
That's it.