library zf-optimized-servicemanager
A Zend Framework module for optimizing service manager calls.
reinfi/zf-optimized-servicemanager
A Zend Framework module for optimizing service manager calls.
- Tuesday, September 5, 2017
- by reinfi
- Repository
- 1 Watchers
- 0 Stars
- 34 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
, (*1)
Module is under development, there may be a lot of bugs at this moment.
Generate an optimized service manager for zend framework., (*2)
- Installation
- Console commands
Installation
- Install with Composer:
composer require reinfi/zf-optimized-servicemanager
.
- Enable the module via ZF2 config in
appliation.config.php
under modules
key:
return [
'modules' => [
'Reinfi\OptimizedServiceManager',
// other modules
],
];
- Change Application class within index.php to Reinfi\OptimizedServiceManager\Mvc\Application`
- Use console command to generate optimized service manager.
Console commands
-
Generate servicemanager: php public/index.php reinfi:optimize service-manager
Generates an optimized service manager based on your current configuration., (*3)
Options, (*4)
--with-initializers : generate initializers if you still use them (they are deprecated), (*5)
--canonicalize-names : also add canonicalized names to service manager, (*6)
--try-autowire : try autowiring during generation of service manager, (*7)
FAQ
Feel free to ask any questions or open own pull requests., (*8)
dev-master
9999999-dev
A Zend Framework module for optimizing service manager calls.
Sources
Download
MIT
The Requires
The Development Requires
by
reinfi
zend
servicemanager
optimized