1. Go to this page and download the library: Download anovsiradj/cutter 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/ */
anovsiradj / cutter example snippets
$cutter = new anovsiradj\Cutter;
$cutter->set('layout','/layouts/main');
$cutter->data('page_title', 'My Posts'); // set variable
$cutter->view(
'/pages/home',
['date_today' => date('Y-m-d')], // set variable(s)
);