Skip to content

linkorb/presenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Brought to you by the LinkORB Engineering team


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

Btw, we're hiring!