franzl/laravel-rain

The RainTPL template engine for Laravel.
27 4
Install
composer require franzl/laravel-rain
Latest Version:v1.0.0
PHP:>=5.3.0
License:MIT
Last Updated:Jan 21, 2014
Links: GitHub  ·  Packagist
Maintainer: franzliedke

laravel-rain

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.

Related Packages

pragmarx/steroids

Laravel 4 Blade on Steroids

205 94
ytake/laravel-smarty

Smarty template engine for Laravel and Lumen

412,421 85
jenssegers/blade

The standalone version of Laravel's Blade templating engine for use outside of L...

1,363,641 858
gulios/xsl-laravel-template-engine

Xslt template engine for laravel. Based on krowinski/laravel-xslt.

125 3
neva/laravel-fenom

Fenom Template Engine for Laravel 5

17 0