Package Data | |
---|---|
Maintainer Username: | franzliedke |
Maintainer Contact: | franz@develophp.org (Franz Liedke) |
Package Create Date: | 2013-12-14 |
Package Last Update: | 2015-02-08 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2025-01-08 03:02:42 |
Package Statistics | |
---|---|
Total Downloads: | 3,208 |
Monthly Downloads: | 7 |
Daily Downloads: | 0 |
Total Stars: | 18 |
Total Watchers: | 4 |
Total Forks: | 3 |
Total Open Issues: | 0 |
A Laravel driver for the powerful native PHP templating system Plates.
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.
In your Laravel application, edit the app/config/app.php
file and add this
line to the providers
array:
'Franzl\LaravelPlates\LaravelPlatesServiceProvider',
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.