#MVC controller implementation
This is an implementation of MVC controller which is suitable for most tasks. It is next level of sebaks/crud.
Installation of sebaks/controller uses composer.
php composer.phar require sebaks/controller
or add to your composer.json
"require": {
"sebaks/controller": "^0.0.1"
}
Almost all controllers have similar workflow:
- Validate request
- Validate data
- Run Domain service
- Build response
That solution provide this
Go to sebaks/zend-mvc-controller to see controller implementation for Zend MVC.