Laravel package to get information from a Redis server with json response. |
composer require drobinetm/laravel-drobinetm-redis
php artisan laravel-redis:install
-
Modify
phpredis
bypredis
in database.php config. -
Modify in database.php the connection config to your redis server.
Note:
Laravel Docs
-
Save the printed signature property in the console.
-
Send in the header of the links the value of the signature property: [Laravel-Redis-Signature] => signature value
-
[GET]
/redis/info
| (Params - Optional)section: server|clients|memory|persistence|stats|replication|cpu|cluster|keyspace
-
[GET]
/redis/keys
| (Params - Optional)pattern: *|<any-pattern>
-
[GET]
/redis/slow-log
| (Params - Optional)argument: 1|<any-argument>