talk / blade-engine
Use Laravel Blade templates engine without the full Laravel framework.
0.0.1
2020-07-24 07:52 UTC
Requires
- php: >=5.6.0
- illuminate/contracts: >=5.1,<5.4
- illuminate/events: >=5.1,<5.4
- illuminate/view: >=5.1,<5.4
This package is auto-updated.
Last update: 2025-04-24 18:26:24 UTC
README
Use Laravel Blade templates engine without the full Laravel framework.
声明
感谢 duncan3dc/blade 。
因项目需求新增功能,故而新建仓库。
Quick Examples
Output the view from /var/www/views/index.blade.php
:
use Talk\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");