franzl/laravel-rain
The RainTPL template engine for Laravel.
Maintainers
Requires
- php: >=5.3.0
- illuminate/support: 4.1.x
- rain/raintpl: >=3.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
Unknown License 1bd30a5c244f9472223ff6ce35ea57a0025a2fc4
- Franz Liedke <franz.woop@develophp.org>
This package is auto-updated.
Last update: 2026-06-05 22:51:17 UTC
README
A Laravel driver for the lightweight PHP templating system RainTPL.
Installation with Composer
Step 1: Install package through Composer
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.
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\LaravelRain\LaravelRainServiceProvider',
Usage
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.
