How to disable a specific module in ZF2 using a database I have a list of modules in the configuration file thinking that at some point in my application, read a table with the names of modules and disables them that are flaged as disabled in the database
in my case I am using Doctrine2 as my database
The lazy-loading module manager from Vincent Blanchon may be a solution to your problem. It allows to conditionnally enable or disable modules.
https://github.com/blanchonvincent/zf2-lazy-loading-module