Skip to content
/ blade Public
forked from duncan3dc/blade

Use Blade templates without the full Laravel framework

License

Notifications You must be signed in to change notification settings

skjuice/blade

 
 

Repository files navigation

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/

Latest Stable Version Build Status Coverage Status

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

About

Use Blade templates without the full Laravel framework

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.4%
  • HTML 2.2%
  • Shell 0.4%