Package Data | |
---|---|
Maintainer Username: | MacFJA |
Package Create Date: | 2016-03-05 |
Package Last Update: | 2017-10-05 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-17 03:00:08 |
Package Statistics | |
---|---|
Total Downloads: | 42 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Laravel Blade support for PHPTransformers.
Via Composer
$ composer require phptransformers/blade
$engine = new BladeTransformer();
echo $engine->render('Hello, {{ $name }}!', array('name' => 'phptransformers'));
$engine = new BladeTransformer(array(
'cache-dir' => 'path/to/the/cache', // Default to the system temporary directory
));
// ...
$blade = new Illuminate\View\Compilers\BladeCompiler(
new Illuminate\Filesystem\Filesystem(),
sys_get_temp_dir()
);
$engine = new BladeTransformer(array(
'blade' => $blade
));
$ composer test
The MIT License (MIT). Please see License File for more information.