duncan3dc/blade

Use Laravel Blade templates without the full Laravel framework
537,019 147
Install
composer require duncan3dc/blade
Latest Version:4.17.0
PHP:^7.3 || ^8.0
Laravel:8 – 13
Older releases:4 – 7
License:Apache-2.0
Last Updated:Aug 6, 2026
Links: GitHub  ·  Packagist
Maintainer: duncan3dc

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

Related Packages

ank/blade

Use Laravel Blade templates without the full Laravel framework

7 0
pug/laravel

Pug (ex-Jade) and Pug-Blade templates support for Laravel and Lumen, see: https:...

38 0
larablocks/pigeon

A more flexible email message builder for Laravel 5 including chained methods, r...

3,706 14
eftec/bladeone

The standalone version Blade Template Engine from Laravel in a single php file

11,166,702 829
atijust/ronin-blade

Laravel Blade template engine as a standalone component

21 0

Version History

Version Released PHP Laravel License
4.17.0 ^7.3 || ^8.0 ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0 Apache-2.0
4.16.0 ^7.3 || ^8.0 ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 Apache-2.0
4.15.0 ^7.3 || ^8.0 ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 Apache-2.0
4.14.0 ^7.3 || ^8.0 ^8.0 || ^9.0 || ^10.0 || ^11.0 Apache-2.0
4.13.0 ^7.3 || ^8.0 ^8.0 || ^9.0 || ^10.0 Apache-2.0