| Package Data | |
|---|---|
| Maintainer Username: | TargetLiu |
| Maintainer Contact: | os@targetliu.com (TargetLiu) |
| Package Create Date: | 2016-07-19 |
| Package Last Update: | 2017-03-16 |
| Home Page: | http://targetliu.com |
| Language: | PHP |
| License: | Unknown |
| Last Refreshed: | 2025-12-03 15:08:45 |
| Package Statistics | |
|---|---|
| Total Downloads: | 4,131 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 21 |
| Total Watchers: | 2 |
| Total Forks: | 9 |
| Total Open Issues: | 8 |
Target\PHPRedis\Cache .composer require targetliu/phpredis
$app->register(TargetLiu\PHPRedis\PHPRedisServiceProvider::class); in bootstrap/app.php
$app->register(TargetLiu\PHPRedis\Cache\CacheServiceProvider::class); in bootstrap/app.php in order to use PhpRedis with Lumen cache'phpredis' => [
'driver' => 'phpredis',
'connection' => 'default',
],
to stores in config/cache.php or vendor/larvel/lumen-framework/config/app.php in order to use PhpRedis with Lumen cache
CACHE_DRIVER=phpredis in .env
$app->register(TargetLiu\PHPRedis\Queue\QueueServiceProvider::class); in bootstrap/app.php in order to use PhpRedis with Lumen queue'phpredis' => [
'driver' => 'phpredis',
'connection' => 'default',
'queue' => 'default',
'expire' => 60,
],
to connections in config/queue.php or vendor/larvel/lumen-framework/config/queue.php in order to use PhpRedis with Lumen queue
QUEUE_DRIVER=phpredis in .env
app('phpredis') , read PhpRedis document
app('cache') , read Lumen document
app('queue') , read Lumen document