PHP code example of maratib / just-blade
1. Go to this page and download the library: Download maratib/just-blade library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
maratib / just-blade example snippets
$views = THEME_PATH . '/views';
$cache = THEME_PATH . '/storage/cache';
$blade = new \Just\Blade($views, $cache);
$blade->render($template, $data);