Looking to hire Laravel developers? Try LaraJobs

laravel-pennant-redis maintained by gabrielmoura

Description
A Redis Driver for Laravel Pennant
Author
Last update
2024/09/04 19:38 (dev-main)
License
Links
Downloads
4 515

Comments
comments powered by Disqus

Introduction

A Redis Driver for the Laravel Pennant.

Now compatible with Laravel 11 and igbinary.

Compatibility

  • Laravel 10
  • Laravel 11
  • IgBinary

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',
        ],

    ],