soliphp/view
Composer 安装命令:
composer require soliphp/view
包简介
Smarty and Twig View Parser package
关键字:
README 文档
README
此项目对常用模版引擎进行封装,便于集成到开发者所熟悉的框架。 目前支持以下模版引擎:
- Twig
- Smarty
安装
使用 composer 安装到你的项目:
composer require soliphp/view
使用
examples 目录下提供了 Soli View 的相关示例。
Twig
安装 Twig 模版引擎:
composer require twig/twig
运行示例:
php examples/twig.php
Smarty
安装 Smarty 模版引擎:
composer require smarty/smarty
运行示例:
php examples/smarty.php
License
MIT Public License
统计信息
- 总下载量: 76
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-15