1. Go to this page and download the library: Download phant/cache 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/ */
phant / cache example snippets
use Phant\Cache\File as CacheFile;
$cache = new CacheFile('path/cache/', 'my-cache-container', CacheFile::TTL_HOUR);
use Phant\Cache\Runtime as CacheRuntime;
$cache = new CacheRuntime();