Skip to content

TinyRedisClient - the most lightweight Redis client written in PHP

Notifications You must be signed in to change notification settings

youaani/tinyredisclient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

TinyRedisClient

TinyRedisClient - the most lightweight Redis client written in PHP

Key points

  • Full-featured: supports all Redis commands
  • Simple: just Redis protocol, nothing more
  • Really tiny: only 48 lines of code
  • Requires nothing: pure PHP implementation

Usage example

$client = new TinyRedisClient( 'host:port' );
$client->set( 'key', 'value' );
$value = $client->get( 'key' );

Full list of commands you can see on http://redis.io/commands

Download and enjoy!


TinyRedisClient

TinyRedisClient - самый легковесный клиент для Redis, написанный на PHP

Основные моменты

  • Полнофункциональный: поддерживает все команды Redis
  • Простой: только протокол Redis, ничего лишнего
  • Крошечный: всего 48 строк кода
  • Нетребовательный: написан на чистом PHP

Пример использования

$client = new TinyRedisClient( 'хост:порт' );
$client->set( 'ключ', 'значение' );
$value = $client->get( 'ключ' );

Полный список команд Redis вы можете найти на http://redis.io/commands

Скачивайте и наслаждайтесь!

About

TinyRedisClient - the most lightweight Redis client written in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published