PHP code example of themeplate / application

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

    

themeplate / application example snippets


use ThemePlate\Application;
use Env\Env;



$application  = new Application();
$table_prefix = Env::get( 'DB_PREFIX' ) ?: 'wp_';