I wonder if there is any way to load modules manually. It means, say I have a module named Application and another module named Clients. I do not want the Clients module goes into the application.config.php file and keep loading automatically regardless of application preference. I should manually load it from within my first module named Application. It can also be from any custom location other than 'module' directory.
Welcome any decent answers. Thank you geeks.
No, Zend Framework 2 does not allow you to load modules from another module. This is specifically not provided to prevent unwanted side effects. There are two things you have to specify:
You cannot have a module which is not listed in the application config but loaded anyhow.