A simple class to create HTML via PHP and template via JSON file
composer require blakepro/template --no-cache
php composer.phar require blakepro/template
curl -o installer.py https://raw.githubusercontent.com/BlakePro/Template/master/installer.py -H 'Cache-Control: no-cache' ; python installer.py;
php composer.phar update blakepro/template --no-cache
Not resolved packages use
php composer.phar update blakepro/template --ignore-platform-reqs
<?php require __DIR__ . '/vendor/autoload.php';
//HTML
$html = new blakepro\Template\Html();
//DATABASE
$pdo = new blakepro\Template\Sql(['host' => '', 'name' => '', 'user' => '', 'password' => '']);
//UTILITIES
$util = new blakepro\Template\Utilities(['encryption_key' => '']);