PHP code example of lsys / redis
1. Go to this page and download the library: Download lsys/redis 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/ */
lsys / redis example snippets
//默认配置存放:/dome/config 目录
//外部直接使用
$r=\LSYS\Redis\DI::get()->redis()->set("aa","ccc");
print_r($r);