MVC Module Loading vs. Mezzio Middleware‑Only: Is the Startup Cost Worth the MVC Convenience?
Background Laminas MVC loads every configured module and its services on each request. Even with lazy listeners, the fixed cost of parsing module configuration files and bootstrapping the event manager inflates memory usage and request‑startup time. Mezzio, on the other hand, allows an application to be built from a minimal set of middleware, loading only th