duncan3dc/blade
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/
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
Pug (ex-Jade) and Pug-Blade templates support for Laravel and Lumen, see: https:...
A more flexible email message builder for Laravel 5 including chained methods, r...
The standalone version Blade Template Engine from Laravel in a single php file
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 4.17.0 | ^7.3 | | ^8.0 | | Apache-2.0 | |
| 4.16.0 | ^7.3 | | ^8.0 | | Apache-2.0 | |
| 4.15.0 | ^7.3 | | ^8.0 | | Apache-2.0 | |
| 4.14.0 | ^7.3 | | ^8.0 | | Apache-2.0 | |
| 4.13.0 | ^7.3 | | ^8.0 | | Apache-2.0 | |
| 4.12.0 | ^7.3 | | ^6.0 | | Apache-2.0 | |
| 4.11.0 | ^7.3 | | ^6.0 | | Apache-2.0 | |
| 4.10.0 | ^7.2 | ^6.0 | | Apache-2.0 | |
| 4.9.0 | ^7.2 | ^6.0 | | Apache-2.0 | |
| 4.8.0 | ^7.2 | ^6.0 | Apache-2.0 | |
| 4.7.0 | ^7.2 | ^6.0 | Apache-2.0 | |
| 4.6.0 | ^7.1 | >=5.5,<5.9 | Apache-2.0 | |
| 4.5.0 | ^7.1 | >=5.5,<5.9 | Apache-2.0 | |
| 4.4.0 | ^7.1 | >=5.5,<5.9 | Apache-2.0 | |
| 4.3.0 | ^7.1 | >=5.5,<5.8 | Apache-2.0 | |
| 4.2.0 | ^7.1 | >=5.5,<5.7 | Apache-2.0 | |
| 4.1.0 | ^7.0 | >=5.5,<5.6 | Apache-2.0 | |
| 4.0.0 | ^7.0 | >=5.5,<5.6 | Apache-2.0 | |
| 3.4.0 | ^5.6| | >=5.1,<5.5 | Apache-2.0 | |
| 3.3.0 | >=5.6.0 | >=5.1,<5.4 | Apache-2.0 | |
| 3.2.0 | >=5.6.0 | >=5.1,<5.3 | Apache-2.0 | |
| 3.1.0 | >=5.6.0 | >=5.1,<5.3 | Apache-2.0 | |
| 3.0.0 | >=5.6.0 | >=5.1,<5.3 | Apache-2.0 | |
| 2.2.1 | >=5.5.0 | ~5.1.0 | Apache-2.0 | |
| 2.2.0 | >=5.5.0 | ~5.1.0 | Apache-2.0 | |
| 2.1.6 | >=5.4.0 | ~5.0.0 | Apache-2.0 | |
| 2.1.5 | >=5.4.0 | ~5.0 | Apache-2.0 | |
| 2.1.1 | >=5.4.0 | ~5.0 | Apache-2.0 | |
| 2.1.0 | >=5.4.0 | ~5.0 | Apache-2.0 | |
| 2.0.0 | >=5.4.0 | ~5.0 | Apache-2.0 |
Showing the latest 30 of 36. See every release on Packagist