Presenter pattern implementation
A simple implementation of the Presenter Pattern for PHP
BasePresenterimplementation to create your own presenter classes
- Forward any unimplemented methods to the wrapped object
- Forward any unimplemented getters to the wrapped object
- A trait to make any model class implement
- Trait uses auto-resolver for finding it's own presenter based on config, classname, or namespace convention
Please refer to
examples/ for usage examples.
MIT. Please refer to the license file for details.
Check out our other projects at linkorb.com/engineering.
Btw, we're hiring!