phauthentic/presentation
Composer 安装命令:
composer require phauthentic/presentation
包简介
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.
README 文档
README
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.
Featured renderer included
- 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!
Documentation & Installation
Please check the docs folder.
Copyright & License
Licensed under the MIT license.
Copyright (c) Phauthentic
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-19