devinow / template
Devinow Framework Template Engine Library,Use the simple and yet powerful Laravel Blade templating engine as a standalone component.
3.0.0
2023-08-03 16:17 UTC
Requires
- php: >=8.1.0
- illuminate/events: *
- illuminate/view: *
README
composer require devinow/template
Usage
<?php require __DIR__.'/vendor/autoload.php'; use Devinow\Blade\Blade; $views = __DIR__ . '/views'; $cache = __DIR__ . '/cache'; $blade = new Blade($views, $cache); echo $blade->view()->make('hello')->render();
You can use all blade features as described in the Laravel documentation: https://laravel.com/docs/master/blade