PHPackages                             imunhatep/rediscli - 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. imunhatep/rediscli

ActiveLibrary[Caching](/categories/caching)

imunhatep/rediscli
==================

General-Purpose Library for PHP

0.3.2(6y ago)125.0k↓89%GPL-3.0-or-laterPHPPHP &gt;=7.1.0

Since Dec 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/imunhatep/rediscli)[ Packagist](https://packagist.org/packages/imunhatep/rediscli)[ RSS](/packages/imunhatep-rediscli/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

Execute redis cli commands
--------------------------

[](#execute-redis-cli-commands)

Could be useful in case of executing redis commands out of framework environment. Rediscli uses it's own entrypoint and reads env variables or `.env` for Redis connection.

E.g. In case Doctrine is configured to store entity proxies inside Redis, sometimes it's required to clean up Redis cache before Doctrine will be able to regenerate entity proxies.

Supported commands:

- flushdb
- flushall

##### Installation:

[](#installation)

```
composer requitre imunhatep/rediscli
```

##### Usage example:

[](#usage-example)

Setup:

```
cd ./bin
ln -s ../vendor/imunhatep/rediscli/bin/redis-cli
cd ..
```

`flushall` example using inline env variables:

```
REDIS_HOST=1.2.3.4 REDIS_PORT=6379 REDIS_DB=0 ./bin/redis-cli r:c:flushall
```

`flushdb` example providing `.env`:

```
./bin/redis-cli r:c:flushdb --dot-env=".env"
```

`flushbd` if env variables are set in shell

```
./bin/redis-cli r:c:flushdb
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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 ~0 days

Total

4

Last Release

2397d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/699c96d324c69946967303fd47f2fb3fc2a11589efa7031298539924e57159a8?d=identicon)[Imunhatep](/maintainers/Imunhatep)

---

Tags

symfonyredisflushdb

### Embed Badge

![Health badge](/badges/imunhatep-rediscli/health.svg)

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

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

10244.2k5](/packages/bitrix24-b24phpsdk)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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