franzl/laravel-plates

The powerful native PHP templating system Plates for Laravel.
3,325 18
Install
composer require franzl/laravel-plates
Latest Version:1.0.0
PHP:>=5.3.0
Laravel:5
Older releases:4
Last Updated:Feb 8, 2015
Links: GitHub  ·  Packagist
Maintainer: franzliedke

laravel-plates

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released PHP Laravel License
1.0.0 >=5.3.0 ~5
v0.9 >=5.3.0 ~4.2