1. Go to this page and download the library: Download starter-kit/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/ */
starter-kit / cache example snippets
// Require your autoloading script (Composer autoload here) to use namespaces
eters
$mc = Memcached::getInstance('YOUR_SERVER_NAME', 'YOUR_SERVER_PORT');
// Later in your code : you can retrieve your instance at any time, without creating new Memcached connection
$res = Memcached::getInstance()->set('yolo', 'swag');
// Require your autoloading script (Composer autoload here) to use namespaces
c = Redis::getInstance('YOUR_SERVER_NAME', 'YOUR_SERVER_PORT');
// Later in your code : you can retrieve your instance at any time, without creating new Redis connection
$res = Redis::getInstance()->set('yolo', 'swag');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.