Download the PHP package targetliu/phpredis without Composer
On this page you can find all versions of the php package targetliu/phpredis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package phpredis
PhpRedis for Lumen 5.*
Update
1.2.1
- Different database use different connections.(According to issue #2)
1.2.0
- You can chose different Redis connections.(According to issue #1)
1.1.0
- Move cache driver to
Target\PHPRedis\Cache
. - Add a Queue driver.
Installation
- Install PhpRedis
- Run
composer require targetliu/phpredis
- Configure redis in .env
Basic
- Add
$app->register(TargetLiu\PHPRedis\PHPRedisServiceProvider::class);
in bootstrap/app.php
Cache Driver
- Add
$app->register(TargetLiu\PHPRedis\Cache\CacheServiceProvider::class);
in bootstrap/app.php in order to use PhpRedis with Lumen cache - Add
to stores in config/cache.php or vendor/larvel/lumen-framework/config/app.php in order to use PhpRedis with Lumen cache
- Set
CACHE_DRIVER=phpredis
in .env
Queue Driver
- Add
$app->register(TargetLiu\PHPRedis\Queue\QueueServiceProvider::class);
in bootstrap/app.php in order to use PhpRedis with Lumen queue - Add
to connections in config/queue.php or vendor/larvel/lumen-framework/config/queue.php in order to use PhpRedis with Lumen queue
- Set
QUEUE_DRIVER=phpredis
in .env
Usage
- With
app('phpredis')
, read PhpRedis document - With
app('cache')
, read Lumen document - With
app('queue')
, read Lumen document
About the author
- Blog:http://targetliu.com
All versions of phpredis with dependencies
PHP Build Version
Package Version
Requires
laravel/lumen-framework Version
5.*.*
The package targetliu/phpredis contains the following files
Loading the files please wait ....