robot / laravel-blade
This package is abandoned and no longer maintained.
No replacement package was suggested.
Use the simple and yet powerful Laravel Blade templating engine as a standalone
v1.0
2014-02-27 07:25 UTC
Requires
- illuminate/view: 4.1.*
This package is not auto-updated.
Last update: 2015-08-02 08:45:39 UTC
README
Installation
The package can be installed via Composer by requiring the "philo/laravel-blade": "dev-master" package in your project's composer.json.
[ "require": { "robot/laravel-blade": "dev-master" } ]
Usage
<?php /* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader | for our application. We just need to utilize it! We'll require it | into the script here so that we do not have to worry about the | loading of any our classes "manually". Feels great to relax. | */ require 'vendor/autoload.php'; use Philo\Blade\Blade; $views = __DIR__ . '/views'; $cache = __DIR__ . '/cache'; $blade = new Blade($views, $cache); echo $blade->view()->make('hello');
You can use all blade features as described in the Laravel 4 documentation: http://laravel.com/docs/templates#blade-templating