1. Go to this page and download the library: Download sbstjn/sliphp 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/ */
sbstjn / sliphp example snippets
define ('SLIPHP_VIEWS', '/var/www/views/');
$view = new SliPHP\View('index');
die($view);
$layout = new SliPHP\Layout('default');
$layout->body(new SliPHP\View('index'));
die($layout);