Componette

Componette

vojtech-dobes

vojtech-dobes / nette-extensions-list

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

download-cloud-line composer require vojtech-dobes/extensions-list

For Nette Framework

Enables registration of other extensions in config file

License

New BSD

Dependencies

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.

No release at this moment. Try to create first one.

Componette Componette felix@nette.org