erik-dubbelboer / php-redis-admin
Simple web interface to manage Redis databases.
Fund package maintenance!
Requires
- ext-json: *
- ext-mbstring: *
- paragonie/random_compat: >=2
- predis/predis: v2.4.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.1
- 1.22.0
- 1.21.1
- 1.21.0
- 1.20.0
- 1.19.3
- 1.19.2
- 1.19.1
- 1.19.0
- 1.18.0
- 1.17.3
- 1.17.2
- 1.17.1
- 1.17.0
- 1.16.2
- 1.16.1
- 1.16.0
- 1.15.0
- 1.14.1
- 1.14.0
- 1.13.2
- 1.13.1
- 1.13.0
- 1.12.0
- 1.11.5
- 1.11.4
- 1.11.3
- 1.11.2
- 1.11.1
- 1.11.0
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- dev-dependency-security-updates
- dev-customencode
This package is not auto-updated.
Last update: 2026-10-25 00:40:50 UTC
README
phpRedisAdmin is a simple web interface to manage Redis databases. It is released under the Creative Commons Attribution 3.0 license. This code is being developed and maintained by Erik Dubbelboer.
You can send comments, patches, questions here on github or to erik@dubbelboer.com.
Example
You can find an example database at http://dubbelboer.com/phpRedisAdmin/
Installing/Configuring
Install Composer using its verified installer, then run:
composer create-project erik-dubbelboer/php-redis-admin path/to/install
You may also want to copy includes/config.sample.inc.php to includes/config.inc.php and edit it with your specific redis configuration.
To install from a Git checkout, install its locked dependencies with Composer:
git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git
cd phpRedisAdmin
composer install
Docker Image
A public phpRedisAdmin Docker image is available on Docker Hub built from the latest tag.
The file includes/config.environment.inc.php is used as the configuration file to allow environment variables to be used as configuration values.
Authentication is required. Set ADMIN_USER and ADMIN_PASS before exposing the container.
If you intentionally need unauthenticated access, set ALLOW_NO_AUTH=true (not recommended outside
isolated local development).
Example:
docker run --rm -it \
-e ADMIN_USER=myuser \
-e ADMIN_PASS=mysecretpassword \
-e REDIS_1_HOST=myredis.host \
-e REDIS_1_NAME=MyRedis \
-p 80:80 erikdubbelboer/phpredisadmin
The Docker Compose manifest also requires credentials. Start it with:
ADMIN_USER=myuser ADMIN_PASS=mysecretpassword docker-compose up --build
Source installations require a configured login or login_as_acl_auth entry. An operator can set
allow_no_auth to true in includes/config.inc.php only for an intentionally isolated development
instance.
Environment variables summary
REDIS_1_HOST- define host of the Redis serverREDIS_1_NAME- define name of the Redis serverREDIS_1_PORT- define port of the Redis serverREDIS_1_SCHEME- define scheme of the Redis server (tcp or tls)REDIS_1_AUTH- define password of the Redis serverREDIS_1_AUTH_FILE- define file containing the password of the Redis serverREDIS_1_DATABASES- You can modify you config to prevent phpRedisAdmin from using CONFIG commandADMIN_USER- define username for user-facing HTTP authenticationADMIN_PASS- define password for user-facing HTTP authenticationALLOW_NO_AUTH- set totrueonly to opt into unauthenticated access on an isolated development instance
TODO
- Encoding support for editing
- Javascript sorting of tables
- Better error handling
- Move or Copy key to different server
- Importing JSON
- JSON export with seperate objects based on your seperator
Credits
Icons by http://p.yusukekamiyamane.com/ (https://github.com/yusukekamiyamane/fugue-icons/tree/master/icons-shadowless)
Favicon from https://github.com/antirez/redis-io/blob/master/public/images/favicon.png