This is breaking change
@weierophinney I need your input on this PR.
Disable dependency on zendframework/zend-loader by default and disable related features in favor of other means of autoloading. Eg Composer, which is now de-facto industry standard.
New use_zend_loader module manager option controls if Zend\Loader should be used.
Both ModuleAutoloader and AutoloaderProvider features are affected.
Example of config/application.config.php using zendframework/zend-loader:
<?php
return [
'modules' => [
'Application',
],
'module_listener_options' => [
'use_zend_loader' => true,
// note that module paths only make sense if zend-loader is used
'module_paths' => [
'./module',
'./vendor',
],
'config_glob_paths' => [
'config/autoload/{{,*.}global,{,*.}local}.php',
],
],
];
This PR replaces #4
Waiting for docs for the component to be merged.
This is breaking change @weierophinney I need your input on this PR.
Disable dependency on zendframework/zend-loader by default and disable related features in favor of other means of autoloading. Eg Composer, which is now de-facto industry standard.
New
use_zend_loader
module manager option controls if Zend\Loader should be used. Both ModuleAutoloader and AutoloaderProvider features are affected.Example of config/application.config.php using zendframework/zend-loader:
This PR replaces #4 Waiting for docs for the component to be merged.