PHPackages                             tinywan/redis-paginate - 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. tinywan/redis-paginate

ActiveLibrary[Caching](/categories/caching)

tinywan/redis-paginate
======================

redis cache paginate

011PHPCI failing

Since May 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Tinywan/redis-paginate)[ Packagist](https://packagist.org/packages/tinywan/redis-paginate)[ RSS](/packages/tinywan-redis-paginate/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/b0e201c5d3214eb8a33474cfc24b186b18249ac231f0f4fac32a5388816a9542/687474703a2f2f706f7365722e707567782e6f72672f74696e7977616e2f72656469732d706167696e6174652f76)](https://packagist.org/packages/tinywan/meilisearch)[![Total Downloads](https://camo.githubusercontent.com/afcf63309bc94805e39427876b16fbac7a662a6b3b6a01bf7677e87dc540d38b/687474703a2f2f706f7365722e707567782e6f72672f74696e7977616e2f72656469732d706167696e6174652f646f776e6c6f616473)](https://packagist.org/packages/tinywan/meilisearch)[![Latest Unstable Version](https://camo.githubusercontent.com/39fc1b1a708c5b37151d3b0386b1764bb64fbf45a921af303b6a15bf8cf7d222/687474703a2f2f706f7365722e707567782e6f72672f74696e7977616e2f72656469732d706167696e6174652f762f756e737461626c65)](https://packagist.org/packages/tinywan/meilisearch)[![License](https://camo.githubusercontent.com/3d76dfab02856fde91f6774b259c4ba8150209411e752a6f9a2daeba7f7e1e18/687474703a2f2f706f7365722e707567782e6f72672f74696e7977616e2f72656469732d706167696e6174652f6c6963656e7365)](https://packagist.org/packages/tinywan/meilisearch)[![PHP Version Require](https://camo.githubusercontent.com/ec933a0dd925b1a1c672d3d2c537c25367c0e1081ba51577e0fabb4d53af7ac4/687474703a2f2f706f7365722e707567782e6f72672f74696e7977616e2f72656469732d706167696e6174652f726571756972652f706870)](https://packagist.org/packages/tinywan/meilisearch)

安装
--

[](#安装)

```
composer require tinywan/redis-paginate
```

使用
--

[](#使用)

### 添加

[](#添加)

```
$paginate = new Tinywan\Redis\Paginate();
$paginate->insert('2008','2022',['name'=>'tinywan']);
```

### 分页查询

[](#分页查询)

```
$paginate = new Tinywan\Redis\Paginate();
$paginate->page('2008',1,10);
```

命令
--

[](#命令)

- 使用有序集合zadd
- 使用hash存储具体的数据
- 取数据通过有序集合的ZREVRANGE---递减排序

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0042e0b68ff6a731ef382a03eecd211736c2d619acc55b2b326988085f72bfb?d=identicon)[Tinywan](/maintainers/Tinywan)

---

Top Contributors

[![Tinywan](https://avatars.githubusercontent.com/u/14959876?v=4)](https://github.com/Tinywan "Tinywan (5 commits)")

### Embed Badge

![Health badge](/badges/tinywan-redis-paginate/health.svg)

```
[![Health](https://phpackages.com/badges/tinywan-redis-paginate/health.svg)](https://phpackages.com/packages/tinywan-redis-paginate)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

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