Looking to hire Laravel developers? Try LaraJobs

laravel-phpredis-array maintained by alexandrfiner

Description
laravel-phpredis-array
Last update
2026/10/13 16:27 (dev-master)
License
Downloads
5 023

Comments
comments powered by Disqus

laravel-phpredis-array

fork of https://github.com/akalongman/laravel-lodash

Installation

1. Install via composer

$ composer require alexandrfiner/laravel-phpredis-array

2. Replace the default implementation of RedisServiceProvider into your config/app.php

'providers' => ServiceProvider::defaultProviders()
    ->replace([
        \Illuminate\Redis\RedisServiceProvider::class => \LaravelPhpRedisArray\RedisServiceProvider::class
    ])->toArray(),

Testing

Tests run against real Redis shards using Docker Compose (spins up redis-0, redis-1 and a PHP 8.4 container with the phpredis extension):

$ docker compose up --build --abort-on-container-exit --exit-code-from tests

License

The MIT License (MIT). Please see License File for more information.