PHP code example of blakepro / template

1. Go to this page and download the library: Download blakepro/template 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/ */

    

blakepro / template example snippets


php composer.phar 

php composer.phar update blakepro/template --no-cache

php composer.phar update blakepro/template --ignore-platform-reqs

 ML
$html = new blakepro\Template\Html();

//DATABASE
$pdo = new blakepro\Template\Sql(['host' => '', 'name' => '', 'user' => '', 'password' => '']);

//UTILITIES
$util = new blakepro\Template\Utilities(['encryption_key' => '']);