Nette modules on the Steroids
Simple registration of Nette modules & extensions.
Support of SOLID MODULAR CONCEPT.
Read more about this package on blog [CZE]
##Features
###Simple configuration ####Bootstrap In bootstrap.php in conjunction with Flame/Framework
$configurator = new \Flame\Configurator;
$configurator->createModulesInstaller()
->addConfig(__DIR__ . '/config/extensions.php')
->register();
return $configurator
Look at implementation of creating modules installator
####extensions.php Register extensions very simply
return array(
'modules' => array(
'REST' => 'Flame\Rest\DI\RestExtension',
'doctrine' => 'Flame\Doctrine\DI\OrmExtension',
'events' => 'Kdyby\Events\DI\EventsExtension',
'Enlan\CategoryModule\DI\CategoryExtension',
'Enlan\DictionaryModule\DI\DictionaryExtension',
'Flame\CMS\AngularModule\DI\AngularExtension'
)
);
If you favor NEON, you can use extensions.neon configuration.
That's all, nothing more! Simple!
##Killer feature ;-)
###You can use composer package Nette Module Installer for automatic installation of new extensions
##Bonus?! You can use Flame\Modules\Providers\IConfigProvider for loading additional neon configuration.
Or implement one of these interface: IRouterProvider & IPresenterMappingProvider & ILatteMacrosProvider.
###What next? Look at this implementation of modules on steroids.