WORK IN PROGRESS - NOT READY FOR PRODUCTION!
A framework and library agnostic presentation layer implementation. The purpose of this is to provide a data transfer object to make your application independent from the underlying rendering implementation.
This library uses a view object that will carry all the information from where ever to the renderer objects, that will read the information and render the desired output depending on the underlying library and implementation. It is pretty easy so switch the rendering sub system with this approach and everything is strict typed as well.
- Twig via twig/twig
- Mustache and Handlebars via zordius/lightncandy
- pdf documents via wkhtmltopdf
- plain php templates
Missing something? It is very easy to implement your own renderer!
Please check the docs folder.
Licensed under the MIT license.
Copyright (c) Phauthentic