Download the PHP package hollodotme/readis without Composer
On this page you can find all versions of the php package hollodotme/readis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hollodotme/readis
More information about hollodotme/readis
Files in hollodotme/readis
Package readis
Short Description A web interface to read data from redis server(s)
License MIT
Informations about the package readis
readis
A web interface to read data from redis server(s)
Docker image
You can find a ready to run docker image here.
Features
- Setup / Selection for multiple redis servers
- Mapping database keys to expressive database names
- Selection of a database inside a redis server
- Searching for keys (with placeholders) inside a database
- Listing of found keys with variable limit
- Basic information about keys
- Viewing the content of all key types
- Viewing all elements/members/fields in lists, (sorted) sets and hashes all at once
- Prettified JSON view, if value is a compact JSON string
- Listing of slow logs
- Table with all the current server instance information / stats
- Table with all the current server configs
- Real-time server monitor for connected clients and I/O in KB/sec.
Requirements
- Webserver (nginx, apache2, etc.)
- PHP >= 7.1 with phpredis extension
- composer
Installation
Assuming you'll install readis under /var/www/readis
on your server.
- SSH into your webserver.
$ git clone https://github.com/hollodotme/readis.git /var/www/readis
$ cd /var/www/readis
$ git checkout v2.0.0
$ composer install -a --no-dev --no-interaction
$ cp config/app.sample.php config/app.php
- Set up the baseUrl in
config/app.php
(Should be the full HTTP URL with path, e.g.https://www.example.com/readis/
) $ cp config/servers.sample.php config/servers.php
- Set up all server instances in
config/servers.php
- Set up your webserver VHost with document root
/var/www/readis/public
Sample app configuration
- File:
config/app.php
Using readis under a separate (sub-)domain:
Using readis under a path of a domain:
Sample server configuration
- File:
config/servers.php
You can map the numeric database keys to plain text names.
Keys that were not mapped will still be displayed as Database [KEY]
.
Please note: If the CONFIG
command is disabled in your redis server, the database map becomes the fallback
listing of available databases.
Regarding auth/password:
If your redis server is not started with the requirepass
option and a password, the value for the auth
config value
must be null
(not an empty string or false
).
Sample nginx configuration
That's it.
Run locally
In order to run readis locally, follow these steps:
$ git clone https://github.com/hollodotme/readis.git
$ cd readis/
$ composer update -o
$ cp config/app.sample.php config/app.php
$ cp config/servers.sample.php config/servers.php
$ php -S 127.0.0.1:8080 -t public/
(starts local webserver)$ docker-compose up -d redis
(starts redis-server instance onlocalhost:6379
)- Open: http://127.0.0.1:8080
All versions of readis with dependencies
ext-redis Version *
ext-intl Version *
icehawk/icehawk Version ~2.2.0
twig/twig Version ~2.0