itsmill3rtime/laravel-pennant-redis

A Redis Driver for Laravel Pennant

v1.0 2024-03-12 18:17 UTC

This package is auto-updated.

Last update: 2024-04-12 18:28:32 UTC


README

art.webp

Latest Stable Version License

Introduction

A Redis Driver for the Laravel Pennant.

Objective

Considering the necessity of employing storage other than arrays or databases, I took the liberty of crafting a driver to provide native support for Redis.

The advantage lies in not being confined to a single Laravel instance or the database, which already contends with its challenges of overload.

This minor alteration is a replica of the database driver, with adaptations for writing and reading Hash in Redis.

Installation

composer require gabrielmoura/laravel-pennant-redis
/* config/pennant.php */

   'stores' => [
      'redis' => [
            'driver' => 'redis',
            'connection' => 'default',
        ],

    ],