laravel-drobinetm-redis maintained by drobinetm
Laravel Redis Information
How to Use
composer require drobinetm/laravel-drobinetm-redis
php artisan laravel-redis:install
In Your Project
-
Modify
phpredisbypredisin database.php config. -
Modify in database.php the connection config to your redis server.
Note: Laravel Docs
Then
-
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
Endpoints
-
[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>