sebaks / controller
Installs: 1 260
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=5.5
- t4web/domain-interface: ~1.1.0
Requires (Dev)
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2024-11-09 19:28:46 UTC
README
#MVC controller implementation
This is an implementation of MVC controller which is suitable for most tasks. It is next level of sebaks/crud.
Installation
Installation of sebaks/controller uses composer.
php composer.phar require sebaks/controller
or add to your composer.json
"require": { "sebaks/controller": "^0.0.1" }
Quick start
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.