gabrielmoura / laravel-pennant-redis
A Redis Driver for Laravel Pennant
Installs: 1 113
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- php: ^8.1
- illuminate/redis: >=v10
- laravel/pennant: >=1.5
Requires (Dev)
- laravel/pint: ^1.17
- orchestra/testbench: ^8.0
- phpstan/phpstan: ^1.10
Suggests
- ext-redis: *
This package is auto-updated.
Last update: 2025-03-04 19:23:20 UTC
README
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', ], ],