Skip to content

tingba1988/phpredis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpredis

封装php的redis,简洁版(常用方法)

使用方法

<?php
require 'vendor/autoload.php';

use redis\redis;

function demo(){
    $redis = new Redis('127.0.0.1',12345,6379);
    $redis -> set('demo',123,10);
    echo $redis -> get('demo');
}

About

封装php的redis,简洁版

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages