• Stars
    star
    3,061
  • Rank 14,160 (Top 0.3 %)
  • Language
    PHP
  • Created almost 13 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple web interface to manage Redis databases.

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 [email protected].

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 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. 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.

Environment variables summary

  • REDIS_1_HOST - define host of the Redis server
  • REDIS_1_NAME - define name of the Redis server
  • REDIS_1_PORT - define port of the Redis server
  • REDIS_1_AUTH - define password of the Redis server
  • REDIS_1_AUTH_FILE - define file containing the password of the Redis server
  • REDIS_1_DATABASES - You can modify you config to prevent phpRedisAdmin from using CONFIG command
  • ADMIN_USER - define username for user-facing Basic Auth
  • ADMIN_PASS - define password for user-facing Basic Auth

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

More Repositories

1

node-sleep

Add sleep() and usleep() to nodejs
JavaScript
456
star
2

redis-lua-scaling-bloom-filter

LUA Redis scripts for a scaling bloom filter
JavaScript
307
star
3

gspt

setproctitle() for Go
C
106
star
4

brainfuck-jit

Brainfuck JIT
C
42
star
5

php-net-tools

A collection of network tools written in PHP
PHP
27
star
6

libuv-lua-http-server

Simple example webserver using libuv and lua
C
21
star
7

nodeFacebookExample

Sample Facebook application using nodejs and socket.io
JavaScript
21
star
8

ringqueue

Queue for Go implemented as ring buffer
Go
18
star
9

MooComplete

Add autocomplete functionality to input elements
JavaScript
15
star
10

OS-Tutorial

Use GRUB to boot a small operating system running in paged virtual memory.
C
15
star
11

php-repl

Simple php repl with tab completion of functions, variables, class functions, class variables and class constants.
PHP
12
star
12

poki-pixijs-template

Quick and dirty template to help developers swiftly build hypercasual PixiJS games.
JavaScript
10
star
13

discnt

Discnt provides in memory distributed eventually consistent counters.
C
9
star
14

villagebuilder

https://playcanvas.com/project/879310/overview/village-builder
JavaScript
8
star
15

udp-tcp-speed-test

Several implementation of a UDP ping pong speed test.
Python
6
star
16

socketIOFileUpload

Upload files using socket.io
JavaScript
6
star
17

libphonenumberphp

libphonenumber php binding
C++
6
star
18

node-eio-simple

Control libeio from javascript
C++
4
star
19

ip2country

IP to country module for PHP
C
4
star
20

erik-misc-code

Miscellaneous code/experiments that by themselves aren't big enough for their own repository.
C
3
star
21

http-digest-auth

Nodejs package to perform http digest authentication
JavaScript
3
star
22

bpprof

Improved version of net/http/pprof
Go
3
star
23

talks

Go
3
star
24

c-pack

Simple data packing/unpacking in C
C
3
star
25

malloc-tools

Shared objects that can be used to debug memory allocations
C
3
star
26

hench

Http bENCHmarking tool
Go
2
star
27

ngx_http_no_server_module

Simple module to stip the Server header from nginx responses
C
2
star
28

node-pack

Simple data packing/unpacking in NodeJS
JavaScript
1
star
29

cv

My resume. I'm looking for a job!
TeX
1
star
30

qtos

Go
1
star
31

LaravelMysqlQueue

Mysql backend for Laravel job queue
PHP
1
star
32

json-iterator-benchmark

Benchmarking json-iterator vs easyjson
Go
1
star
33

blog.dubbelboer.com

HTML
1
star