PHPackages                             104lab/laravel-redis - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. 104lab/laravel-redis

ActiveLibrary[Caching](/categories/caching)

104lab/laravel-redis
====================

The helper for Laravel Redis package

v1.0.1(8mo ago)01.1k1MITPHPPHP ^8.1CI passing

Since Mar 28Pushed 8mo agoCompare

[ Source](https://github.com/104lab/laravel-redis)[ Packagist](https://packagist.org/packages/104lab/laravel-redis)[ RSS](/packages/104lab-laravel-redis/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

Helper for Laravel Redis
========================

[](#helper-for-laravel-redis)

[![tests](https://github.com/104lab/laravel-redis/workflows/tests/badge.svg)](https://github.com/104lab/laravel-redis/workflows/tests/badge.svg)

Requirement
-----------

[](#requirement)

- PHP 8.1 ~ 8.4
- Laravel 10 ~ 12
- ext-redis 5.3 ~ 6.2 (Test covered)
- Redis 6 ~ 7 (Test covered)
- Predis ^2.0.3

Installation
------------

[](#installation)

Use Composer for install.

```
composer require 104lab/laravel-redis

```

Usage
-----

[](#usage)

Redis [`KEYS`](https://redis.io/docs/latest/commands/keys/) method is like full-table scan, so maybe use [`SCAN`](https://redis.io/docs/latest/commands/scan/) is good idea.

```
$connection = Redis::connection();

# Before
$keys = $connection->keys('foo:*');

# After
$keys = (new KeysByScan($connection))('foo:*');

# Use chunk limit
$keys = (new KeysByScan($connection))('foo:*', 100);

# Use usleep, default is 10
$keys = (new KeysByScan($connection))('foo:*', 100, 10);
```

License
-------

[](#license)

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

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance59

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~153 days

Total

2

Last Release

264d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20872dcc4b888075f03819d5470db8198ffcc5f9edb791aba5f007e34355a6c9?d=identicon)[MilesChou](/maintainers/MilesChou)

---

Top Contributors

[![MilesChou](https://avatars.githubusercontent.com/u/1258752?v=4)](https://github.com/MilesChou "MilesChou (12 commits)")[![ChengKaiChiang](https://avatars.githubusercontent.com/u/56571843?v=4)](https://github.com/ChengKaiChiang "ChengKaiChiang (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/104lab-laravel-redis/health.svg)

```
[![Health](https://phpackages.com/badges/104lab-laravel-redis/health.svg)](https://phpackages.com/packages/104lab-laravel-redis)
```

###  Alternatives

[monospice/laravel-redis-sentinel-drivers

Redis Sentinel integration for Laravel and Lumen.

103830.5k](/packages/monospice-laravel-redis-sentinel-drivers)[namoshek/laravel-redis-sentinel

An extension of Laravels Redis driver which supports connecting to a Redis master through Redis Sentinel.

38679.0k](/packages/namoshek-laravel-redis-sentinel)[yangusik/laravel-balanced-queue

Laravel queue management with load balancing between partitions (user groups)

786.4k](/packages/yangusik-laravel-balanced-queue)[vetruvet/laravel-phpredis

Use phpredis as the redis connection in Laravel

43123.7k](/packages/vetruvet-laravel-phpredis)[ginnerpeace/laravel-redis-lock

Simple redis distributed locks for Laravel.

15114.4k](/packages/ginnerpeace-laravel-redis-lock)[huangdijia/laravel-redis-ide-helper

Redis ide-helper for Laravel.

1243.3k](/packages/huangdijia-laravel-redis-ide-helper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
