ptrofimov/tinyredisclient

The most lightweight Redis client written in PHP

Maintainers

👁 ptrofimov

Package info

github.com/ptrofimov/tinyredisclient

pkg:composer/ptrofimov/tinyredisclient

Statistics

Installs: 752 161

Dependents: 7

Suggesters: 1

Stars: 91

Open Issues: 6

1.1.1 2013-04-09 19:16 UTC

Requires

None

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 7b8d487afa41b74e30d1a68400d89c12d9b82b6f

redisclient

This package is not auto-updated.

Last update: 2026-06-20 21:14:03 UTC


README

TinyRedisClient is 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 50 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, ничего лишнего
  • Крошечный: всего 50 строк кода
  • Нетребовательный: написан на чистом PHP

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

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

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

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

Keywords: redis, storage, nosql, php, client, lightweight, light, easy, simple, small, tiny, protocol