Skip to content

Just-Blade

Now you can use blade templating easily in your plain php projects.

Install the follow package and you are good to go:-

Terminal window
composer require webpup/just-blade

How to use it in your plain php projects

$views = THEME_PATH . '/views';
$cache = THEME_PATH . '/storage/cache';
$blade = new \Just\Blade($views, $cache);
$blade->render($template, $data);