The Laminas Project's event-driven MVC framework for PHP applications
open sourceBSD-3-Clausefree
laminas-mvc is the Laminas Project's event-driven MVC layer for PHP, covering MVC applications, controllers and controller plugins, and focused on performance and flexibility. It's built on laminas-servicemanager, which creates and configures the application and its workflow from default service definitions; on laminas-eventmanager, which drives everything from bootstrapping through routing to rendering views; and on laminas-http's request and response objects, with every controller a dispatchable object.
Problems it solves
- build a PHP web application with an MVC framework
- keep running an application built on Zend Framework's MVC
- structure a PHP app around controllers, routes and views
Features
- MVC applications, controllers and controller plugins
- event-driven request lifecycle from bootstrap to view rendering
- services and application wiring through laminas-servicemanager
- controllers as dispatchable objects over laminas-http requests and responses
Limitations
- The Laminas Project lists it in security-only maintenance mode.1
Alternatives
The same job
These do what laminas-mvc does.
- CodeIgniter The small framework with powerful features
- ThinkPHP A PHP web framework popular in China, rebuilt for PHP 8
- Nette Framework Component-based PHP framework and standalone libraries with security built in
- Flow Framework A PHP web application framework focused on Domain-Driven Design and clean code
- Slim PHP micro framework for small web applications and APIs
