PHP code example of truecastdesign / truefw

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

    

truecastdesign / truefw example snippets


title="Title of the page for the title tag"
description="The meta description content."
{endmeta}

$App->get('/api/person/:value', function($request) use ($App) {
	$vars = []; 
	# if the code is short you can put it in here and if too long 

$App->view = new \True\PhpView();