Simple web interface to manage Redis databases.
PHP CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css Merge pull request #113 from aziraphale/cookie-auth Jun 21, 2017
images Flush button that can be enabled per server (#34) Nov 20, 2013
includes Fix: delete inherited servers when loading configuration from environ… Jan 11, 2018
js replaceState problem May 27, 2017
.gitignore changing style for #keys block Jun 11, 2017
Dockerfile Add Docker support: Dockerfile initial version and environment-sourci… Jul 18, 2015
README.markdown Add Docker usage docs and Docker Compose manifest for testing/develop… Jan 11, 2018
composer.json v1.10.1 Jan 16, 2018
composer.lock Fix #119 Nov 8, 2017
delete.php Fix #35 and possibly #52 Mar 22, 2015
docker-compose.yml Add Docker usage docs and Docker Compose manifest for testing/develop… Jan 11, 2018
edit.php Add custom per key encoding (fix #69) Jun 20, 2015
export.php Improved export functionality (#120) Nov 8, 2017
flush.php Flush button that can be enabled per server (#34) Nov 20, 2013
import.php Fix #35 and possibly #52 Mar 22, 2015
index.php database, fixes #79 Oct 5, 2015
info.php Fix #35 and possibly #52 Mar 22, 2015
login.php Allow logging in via HTML <form> and cookies rather than HTTP Digest … Jun 13, 2017
logout.php Allow logging in via HTML <form> and cookies rather than HTTP Digest … Jun 13, 2017
overview.php 1.5.0, fix #91 Apr 12, 2016
rename.php Fix rename, 1.2.1 Apr 11, 2015
save.php move all include files to subfolder /includes Nov 22, 2012
ttl.php Update ttl.php Feb 18, 2014
view.php Format TTL to days, hours or minutes Apr 7, 2017

README.markdown

phpRedisAdmin

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

To install phpRedisAdmin through composer you need to execute the following commands:

curl -s http://getcomposer.org/installer | php
php composer.phar create-project -s dev 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.

Instead of using composer, you can also do a manual install using:

git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git
cd phpRedisAdmin
git clone https://github.com/nrk/predis.git vendor

Docker Image

A public phpRedisAdmin Docker image is available on Docker Hub automatically built from latest source. The file includes/config.environment.inc.php is used as the configuration file to allow environment variables to be used as configuration values. Example:

docker run --rm -it -e REDIS_1_HOST=myredis.host -e REDIS_1_NAME=MyRedis -p 80:80 erikdubbelboer/phpredisadmin

Also, a Docker Compose manifest with a stack for testing and development is provided. Just issue docker-compose up --build to start it and browse to http://localhost. See docker-compose.yml file for configuration details.

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