PHP code example of aymeric-wilke / scherzo-php
1. Go to this page and download the library: Download aymeric-wilke/scherzo-php 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/ */
aymeric-wilke / scherzo-php example snippets
$routes = array(
'/' => 'index.html.twig',
'/your-page' => 'your-file.html.twig',
);
$twigVars = array(
'request' => $REQUEST,
'whatever' => $whatever,
);