Use the simple and yet powerful Laravel 5 Blade templating engine as a standalone component.

v5.0.1 2015-05-09 07:31 UTC

README

Installation

Use Laravel 5 Blade templating engine as a standalone component

$ composer require txthinking/blade

Usage

<?php
use \Tx\ViewProvider;

$v = (new ViewProvider([
    'viewPaths' => [__DIR__ . '/views'],
    'cachePath' => __DIR__ . '/cache',
]))->getInstance();

echo $v->make('hello');

Documentation

http://laravel.com/docs/5.0/templates