| Package Data | |
|---|---|
| Maintainer Username: | duncan3dc |
| Maintainer Contact: | git@duncanc.co.uk (Craig Duncan) |
| Package Create Date: | 2014-09-28 |
| Package Last Update: | 2025-05-13 |
| Home Page: | |
| Language: | PHP |
| License: | Apache-2.0 |
| Last Refreshed: | 2025-11-02 15:14:57 |
| Package Statistics | |
|---|---|
| Total Downloads: | 488,973 |
| Monthly Downloads: | 2,181 |
| Daily Downloads: | 5 |
| Total Stars: | 148 |
| Total Watchers: | 5 |
| Total Forks: | 36 |
| Total Open Issues: | 2 |
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/
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/
A Changelog has been available since version 2.0.0
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