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

Getting Started

Instance

Static

Directives

Setup

View the API Documentation for this class

The recommended way of using this library is the BladeInstance class.

Paths

When using the static Blade class, the paths are guessed by assuming this library has been installed in the default composer vendor directory.

/composer.json
/vendor
/views [The directory to look for *.blade.php templates]
/cache/views [The directory to cache compiled php in]