LaravelPackages.net
Acme Inc.
Toggle sidebar
duncan3dc/blade

Use Laravel Blade templates without the full Laravel framework

519.237
148
4.17.0
About duncan3dc/blade

duncan3dc/blade is a Laravel package for use laravel blade templates without the full laravel framework. It currently has 148 GitHub stars and 519.237 downloads on Packagist (latest version 4.17.0). Install it with composer require duncan3dc/blade. Discover more Laravel packages by duncan3dc or browse all Laravel packages to compare alternatives.

Last updated

blade

Use Laravel Blade templates as a standalone component without the full Laravel framework

Full documentation is available at http://duncan3dc.github.io/blade/
PHPDoc API documentation is also available at http://duncan3dc.github.io/blade/api/

release build coverage

Quick Examples

Output the view from /var/www/views/index.blade.php:

use duncan3dc\Laravel\BladeInstance;

$blade = new BladeInstance("/var/www/views", "/var/www/cache/views");

echo $blade->render("index");

There is also a static class available:

use duncan3dc\Laravel\Blade;

echo Blade::render("index");

Read more at http://duncan3dc.github.io/blade/

Changelog

A Changelog has been available since version 2.0.0

Where to get help

Found a bug? Got a question? Just not sure how something works?
Please create an issue and I'll do my best to help out.
Alternatively you can catch me on Twitter

Comments