anis2505/darwintpl
Composer 安装命令:
composer require anis2505/darwintpl
包简介
DarwinTpl template engine
README 文档
README
#DarwinTpl Template Engine V1.0.0 ##Distribution repository
Php Template engine using native Php markup. No complicated or new syntax to learn.
to get started. download the DarwinTpl package.
include the DarwinTpl class file.
include(PATH_TO_DARWINTPL.'DarwinTpl.php')
Or simply using composer
"require": {
"anis2505/darwintpl":"dev-master"
}
in your composer.json file.
in you script create an instance of the class
$darwinTpl = new Darwin\DarwinTpl( TEMPLATES_ROOT_PATH );
Now you are ready to use DarwinTpl.
$darwinTpl->render("templatefile");
Please consider checking the samples provided with this repository.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-15
