PHPackages                             tuupola/beeper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tuupola/beeper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tuupola/beeper
==============

Generic paginator for PHP 7.1+

0.4.0(4y ago)710.8k2[2 PRs](https://github.com/tuupola/beeper/pulls)MITPHPPHP ^7.1|^8.0

Since Oct 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/tuupola/beeper)[ Packagist](https://packagist.org/packages/tuupola/beeper)[ Docs](https://github.com/tuupola/beeper)[ GitHub Sponsors](https://github.com/tuupola)[ RSS](/packages/tuupola-beeper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (8)Used By (0)

Beeper
======

[](#beeper)

Generic pager for PHP 7.1+

[![Latest Version](https://camo.githubusercontent.com/488126cea7c52c38d3e94e83a2e5678debd152beca27bdfbba1a600582850ee3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f747575706f6c612f6265657065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tuupola/beeper)[![Packagist](https://camo.githubusercontent.com/271cfbe1aca3e273f73d978bd6fa6575e8890d2107878f80c24952abd23ab3ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f747575706f6c612f6265657065722e737667)](https://packagist.org/packages/tuupola/beeper)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/def0a48bb8c012248da67ccbb9e2c5a115283636034e20dcf2a81160f1b5d555/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f747575706f6c612f6265657065722f54657374732f6d61737465723f7374796c653d666c61742d737175617265)](https://github.com/tuupola/beeper/actions)[![Coverage](https://camo.githubusercontent.com/6f6c60b8f602d832119de2ef5598ceeb2f9c82928fd2e30588ca1ef78946b65c/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f747575706f6c612f6265657065722e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/tuupola/beeper)

Install
-------

[](#install)

You can install latest version using [composer](https://getcomposer.org/).

```
$ composer require tuupola/beeper

```

Usage
-----

[](#usage)

```
use Beeper\Adapter\ArrayAdapter;
use Beeper\Beeper;

$array = range(1, 12, 1);
$adapter = new ArrayAdapter($array);

$beeper = new Beeper(["adapter" => $adapter, "size" => 5, "page" => 1]);

foreach ($beeper as $key => $page) {
    print_r($page);
}
```

```
Array
(
    [0] => 1
    [1] => 2
    [2] => 3
    [3] => 4
    [4] => 5
)
Array
(
    [0] => 6
    [1] => 7
    [2] => 8
    [3] => 9
    [4] => 10
)
Array
(
    [0] => 11
    [1] => 12
)

```

```
$beeper->rewind();
$beeper->next();
$beeper->next();

print_r($beeper->get());
```

```
Array
(
    [0] => 11
    [1] => 12
)

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~503 days

Recently: every ~592 days

Total

6

Last Release

1709d ago

PHP version history (3 changes)0.2.0PHP ~5.4

0.3.0PHP ^5.4 || ^7.0

0.4.0PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3325405a7d8a43bc40dd0e760a4b7f268fba32a7150cf0327f64f13d1661df0b?d=identicon)[tuupola](/maintainers/tuupola)

---

Top Contributors

[![tuupola](https://avatars.githubusercontent.com/u/21913?v=4)](https://github.com/tuupola "tuupola (33 commits)")

---

Tags

pagerpaginatorpagination

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tuupola-beeper/health.svg)

```
[![Health](https://phpackages.com/badges/tuupola-beeper/health.svg)](https://phpackages.com/packages/tuupola-beeper)
```

###  Alternatives

[knplabs/knp-components

Knplabs component library

77343.6M46](/packages/knplabs-knp-components)[aplus/pagination

Aplus Framework Pagination Library

2091.6M3](/packages/aplus-pagination)[kop/yii2-scroll-pager

Infinite AJAX scrolling for Yii2 ListView widget

180706.5k10](/packages/kop-yii2-scroll-pager)[coffeecode/paginator

Paginator is simple and is ready to generate results navigation in your application

59658.1k1](/packages/coffeecode-paginator)[beberlei/porpaginas

Library that generically solves several pagination issues with DAO/repository abstractions.

163612.6k11](/packages/beberlei-porpaginas)[ashleydawson/simple-pagination

Simple, lightweight and universal service that implements pagination on collections of things

18161.2k2](/packages/ashleydawson-simple-pagination)

PHPackages © 2026

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