Skip to content

Instantly share code, notes, and snippets.

@basz
Created May 21, 2012 22:06
Show Gist options
  • Save basz/2764999 to your computer and use it in GitHub Desktop.
Save basz/2764999 to your computer and use it in GitHub Desktop.
module conf and composer
suppose this app is installed with composer and it has a dependancy on a module known to composer as 'vendor/moduleName'.
Would this work?
return array(
'modules' => array(
'Application',
'vendor/moduleName',
),
'module_listener_options' => array(
'config_glob_paths' => array(
'config/autoload/{,*.}{global,local}.php',
),
'config_cache_enabled' => false,
'cache_dir' => 'data/cache',
'module_paths' => array(
'./module',
'./vendor',
),
),
'service_manager' => array(
'use_defaults' => true,
'factories' => array(
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment