franzl/laravel-plates
最新稳定版本:1.0.0
Composer 安装命令:
composer require franzl/laravel-plates
包简介
The powerful native PHP templating system Plates for Laravel.
README 文档
README
A Laravel driver for the powerful native PHP templating system Plates.
Installation with Composer
Step 1: Install package through Composer
Add this line to the require section of your composer.json:
"franzl/laravel-plates": "dev-master"
Alternately, you can use the Composer command-line tool by running this command:
composer require franzl/laravel-plates
Next, run composer install to actually install the package.
Step 2: Register the service provider
In your Laravel application, edit the app/config/app.php file and add this
line to the providers array:
'Franzl\LaravelPlates\LaravelPlatesServiceProvider',
Usage
Once installed, you can use Laravel's view system as you always do. Files ending in .plates.php will automatically be treated as Plates templates. As long as you don't try to combine things like Blade layouts and Plates' partial views, everything should go well.
统计信息
- 总下载量: 3.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-11-30