PHPackages                             ptrofimov/tinyredisclient - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. ptrofimov/tinyredisclient

ActiveLibrary[Caching](/categories/caching)

ptrofimov/tinyredisclient
=========================

The most lightweight Redis client written in PHP

1.1.1(13y ago)91719.6k↓15%9[3 issues](https://github.com/ptrofimov/tinyredisclient/issues)[1 PRs](https://github.com/ptrofimov/tinyredisclient/pulls)7MITPHP

Since Nov 15Pushed 8y ago5 watchersCompare

[ Source](https://github.com/ptrofimov/tinyredisclient)[ Packagist](https://packagist.org/packages/ptrofimov/tinyredisclient)[ Docs](https://github.com/ptrofimov/tinyredisclient)[ RSS](/packages/ptrofimov-tinyredisclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (7)

TinyRedisClient [![English version](https://camo.githubusercontent.com/6276fa6575cf01f541b4219cb00b7b3bba392f32afbadae30a25df88e994b90e/687474703a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f7468756d622f612f61652f466c61675f6f665f7468655f556e697465645f4b696e67646f6d2e7376672f323270782d466c61675f6f665f7468655f556e697465645f4b696e67646f6d2e7376672e706e67)](https://camo.githubusercontent.com/6276fa6575cf01f541b4219cb00b7b3bba392f32afbadae30a25df88e994b90e/687474703a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f7468756d622f612f61652f466c61675f6f665f7468655f556e697465645f4b696e67646f6d2e7376672f323270782d466c61675f6f665f7468655f556e697465645f4b696e67646f6d2e7376672e706e67)
========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#tinyredisclient-)

*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

[Download](https://github.com/ptrofimov/tinyredisclient/archive/master.zip) and enjoy!

---

TinyRedisClient [![Русская версия](https://camo.githubusercontent.com/b95ec7bd25b5a6221dbf592e650fabe218e3855953c2eb7190c64c61a193baea/687474703a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f7468756d622f662f66332f466c61675f6f665f5275737369612e7376672f323270782d466c61675f6f665f5275737369612e7376672e706e67)](https://camo.githubusercontent.com/b95ec7bd25b5a6221dbf592e650fabe218e3855953c2eb7190c64c61a193baea/687474703a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f7468756d622f662f66332f466c61675f6f665f5275737369612e7376672f323270782d466c61675f6f665f5275737369612e7376672e706e67)
=======================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#tinyredisclient--1)

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

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

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

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

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

Полный список команд Redis вы можете найти на

[Скачивайте](https://github.com/ptrofimov/tinyredisclient/archive/master.zip) и наслаждайтесь!

---

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

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity51

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~72 days

Total

3

Last Release

4787d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7055160847368dea476b261891757010bd52eed1698560047cd49ae178730c76?d=identicon)[ptrofimov](/maintainers/ptrofimov)

---

Top Contributors

[![ptrofimov](https://avatars.githubusercontent.com/u/867178?v=4)](https://github.com/ptrofimov "ptrofimov (12 commits)")

---

Tags

clientredis

### Embed Badge

![Health badge](/badges/ptrofimov-tinyredisclient/health.svg)

```
[![Health](https://phpackages.com/badges/ptrofimov-tinyredisclient/health.svg)](https://phpackages.com/packages/ptrofimov-tinyredisclient)
```

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[amphp/redis

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

165634.7k44](/packages/amphp-redis)[kdyby/redis

Redis storage for Nette Framework

491.6M2](/packages/kdyby-redis)[clue/redis-protocol

A streaming Redis protocol (RESP) parser and serializer written in pure PHP.

5211.0M13](/packages/clue-redis-protocol)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23517.0k1](/packages/rtcamp-nginx-helper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
