vojtech-dobes/extensions-list

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

1.1.0 2014-01-03 20:19 UTC

This package is not auto-updated.

Last update: 2024-11-09 13:07:59 UTC


README

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.