I have one main Application module and several dependent modules. All modules have their own repositories on github and installed via composer (using satis local repository). During development process I need to make changes either in main module or dependent ones. But dependent modules are located in /vendor directory, and it's bad idea to make changes and git init there. So, I need a local copy of each module in /devmodules folder and add this folder to application.config:
'module_listener_options' => array(
// ...
'module_paths' => array(
'./module',
'./vendor',
'./devmodules'
),
How to tell ZF don't use /vendor for such modules? Change autoloader / use make tool or hook script in composer to make new copy and clean /vendor? What is the best practice to solve the problem?
P.S. Dependent modules are my own modules I develop in parallel with Application. So I want to see changes immediately, not after commit/push/update.