linkorb/presenter

Presenter pattern implementation

v1.0.0 2016-10-01 08:38 UTC

README

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 for details.

Brought to you by the LinkORB Engineering team

687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67
Check out our other projects at linkorb.com/engineering.

Btw, we're hiring!