ank/blade

Use Laravel Blade templates without the full Laravel framework
7
Install
composer require ank/blade
Latest Version:4.10.3
PHP:^7.2
License:Apache-2.0
Last Updated:Aug 12, 2020
Links: GitHub  ·  Packagist
Maintainer: 735579768

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

duncan3dc/blade for enterprise

Available as part of the Tidelift Subscription

The maintainers of duncan3dc/blade and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Related Packages

duncan3dc/blade

Use Laravel Blade templates without the full Laravel framework

511,627 148
pug/laravel

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

38 0
atijust/ronin-blade

Laravel Blade template engine as a standalone component

21 0
larablocks/pigeon

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

3,706 14
ytake/laravel-smarty

Smarty template engine for Laravel and Lumen

409,838 85