vojtech-dobes/extensions-list

Enables registration of other extensions in config file (for Nette Framework)

Installs: 406

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type: nette-addon

1.1.0 2014-01-03 20:19 UTC

README

Enables registration of other extensions in config file

License

New BSD

Dependencies

  • Nette Framework 2.0.5 (because of nette/nette#740)

Installation

  1. Get the source code from Github or via Composer (vojtech-dobes/extensions-list).
  2. 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.