Package Data | |
---|---|
Maintainer Username: | franzliedke |
Maintainer Contact: | franz@develophp.org (Franz Liedke) |
Package Create Date: | 2014-01-14 |
Package Last Update: | 2014-01-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-17 03:03:35 |
Package Statistics | |
---|---|
Total Downloads: | 26 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
A Laravel driver for the lightweight PHP templating system RainTPL.
Add this line to the require
section of your composer.json
:
"franzl/laravel-rain": "dev-master"
Alternately, you can use the Composer command-line tool by running this command:
composer require franzl/laravel-rain
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\LaravelRain\LaravelRainServiceProvider',
Once installed, you can use Laravel's view system as you always do. Files ending in .dust.php
will automatically be treated as RainTPL templates. As long as you don't try to combine things like Blade layouts and Rain's includes, everything should go well.