https://github.com/linkorb/presenter
Presenter pattern implementation for PHP
https://github.com/linkorb/presenter
Last synced: 3 months ago
JSON representation
Presenter pattern implementation for PHP
- Host: GitHub
- URL: https://github.com/linkorb/presenter
- Owner: linkorb
- License: mit
- Created: 2016-10-01T08:38:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-01T08:39:24.000Z (over 8 years ago)
- Last Synced: 2025-02-28T17:53:53.725Z (3 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Presenter
=========A simple implementation of the Presenter Pattern for PHP
## Features
* Simple `BasePresenter` implementation 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 `getPresenter`
* Trait uses auto-resolver for finding it's own presenter based on config, classname, or namespace convention## Usage
Please refer to `examples/` for usage examples.
## License
MIT. Please refer to the [license file](LICENSE.md) for details.
## Brought to you by the LinkORB Engineering team
Check out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).Btw, we're hiring!