1. Go to this page and download the library: Download amber/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/ */
amber / cache example snippets
use Amber\Cache\Cache;
$cache = Cache::getInstance();
use Amber\Cache\Cache;
$cache = Cache::driver('file');
use Amber\Cache\Cache;
Cache::set('key', 'value');
Cache::has('key'); // Returns true
Cache::get('key'); // Returns "value"
Cache::delete('key');
// Set the driver and then call the desired method.
Cache::driver('json')->set('key', 'value');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.