Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/al-one/laravel-redis-extendable
Laravel RedisManager Extendable
https://github.com/al-one/laravel-redis-extendable
laravel laravel-redis redis
Last synced: about 1 month ago
JSON representation
Laravel RedisManager Extendable
- Host: GitHub
- URL: https://github.com/al-one/laravel-redis-extendable
- Owner: al-one
- License: mit
- Created: 2019-01-13T09:41:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-25T08:51:29.000Z (almost 5 years ago)
- Last Synced: 2024-09-25T04:22:35.091Z (about 2 months ago)
- Topics: laravel, laravel-redis, redis
- Language: PHP
- Size: 10.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Redis Manager Extendable
> 1.5.4支持Laravel 5.4 - 5.6版本
>
> 1.5.7支持Laravel 5.7及以上版本## Installing
```
# composer.json"minimum-stability": "dev",
"prefer-stable": true,
``````sh
# Laravel 5.4 - 5.6
$ composer require "al-one/laravel-redis-extendable:~1.5.4" -vvv# Laravel 5.7
$ composer require "al-one/laravel-redis-extendable:~1.5.7" -vvv
```## Usage
```php
# config/app.php
[
// Illuminate\Redis\RedisServiceProvider::class,
Alone\LaravelRedisExtendable\RedisServiceProvider::class,
],];
``````php
use Illuminate\Support\Facades\Redis;Redis::extend('predis_listened',function()
{
return new \Alone\LaravelPredisListened\PredisListenedConnector;
});
```## License
MIT