2017 © Pedro Peláez
 

library redis-manager

Redis manager for laravel

image

encore/redis-manager

Redis manager for laravel

  • Tuesday, April 24, 2018
  • by encore
  • Repository
  • 7 Watchers
  • 179 Stars
  • 1,341 Installations
  • Vue
  • 0 Dependents
  • 0 Suggesters
  • 22 Forks
  • 2 Open issues
  • 5 Versions
  • 73 % Grown

The README.md

redis-manager, (*1)

<, (*2)

p align="center"> StyleCI Packagist Total Downloads , (*3)

Redis-manager gives your laravel application a redis web administration interface that allows you to easily manipulate the most commonly used data types for redis (strings, hashes, lists, sets, sorted sets)., (*4)

It also provides a web-style command-line tool that works like redis-cli that can run most of the redis commands., (*5)

Redis-manager allows you to easily monitor several redis system status, including memory usage, cpu usage, and the throughput of each command., (*6)

Here is the living demo, (*7)

redis-manager reads laravel's redis configuration located in the config/database.php, (*8)

Installation

You may use Composer to install Redis-manager into your Laravel project:, (*9)

composer require encore/redis-manager

After installing redis-manager, publish its assets using the vendor:publish Artisan command:, (*10)

php artisan vendor:publish --provider="Encore\RedisManager\RedisManagerServiceProvider"

After installation, open http://your-server/redis-manager to access redis-manager., (*11)

Configuration

The config file was published at config/redis-manager.php, and the default contents of the configuration:, (*12)

<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Redis Manager Base Path
    |--------------------------------------------------------------------------
    |
    | Base path for Redis Manager
    |
    */

    'base_path' => 'redis-manager',

    /*
    |--------------------------------------------------------------------------
    | Redis Manager Middleware
    |--------------------------------------------------------------------------
    |
    | The Redis Manager's route middleware.
    |
    */

    'middleware' => [],

    /*
    |--------------------------------------------------------------------------
    | Redis Manager Results Per Page
    |--------------------------------------------------------------------------
    |
    | Here you can configure for the number of results will show in the
    | Redis Manager search page.
    |
    */

    'results_per_page' => 50,

    /*
    |--------------------------------------------------------------------------
    | Redis Manager Disable Commands
    |--------------------------------------------------------------------------
    |
    | The commands listed here was disabled when you use Redis Manager Console
    | to run commands. Feel free to add commands here which you do not want
    | users to use.
    |
    */

    'disable_commands' => [
        'flushdb'
    ]
];

Authentication

By default, you will only be able to access redis-manager in the local environment. To define a more specific access policy for it, you should use the RedisManager::auth method. The auth method accepts a callback which should return true or false, indicating whether the user should have access to redis-manager:, (*13)

RedisManager::auth(function ($request) {
    // return true / false;
});

License

Redis manager is open-sourced software licensed under the MIT license, (*14)

The Versions

24/04 2018

dev-master

9999999-dev https://github.com/z-song/redis-manager

Redis manager for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by z-song

laravel redis manager

24/04 2018

v0.1.2

0.1.2.0 https://github.com/z-song/redis-manager

Redis manager for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by z-song

laravel redis manager

13/03 2018

v0.1.1

0.1.1.0 https://github.com/z-song/redis-manager

Redis manager for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by z-song

laravel redis manager

06/02 2018

dev-analysis-8n1o4w

dev-analysis-8n1o4w https://github.com/z-song/redis-manager

Redis manager for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by z-song

laravel redis manager

17/12 2017

v0.1.0

0.1.0.0 https://github.com/z-song/redis-manager

Redis manager for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by z-song

laravel redis manager