PHPackages                             yalayolooo/pagerpro - 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. yalayolooo/pagerpro

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

yalayolooo/pagerpro
===================

A library to split results into multiple pages

00PHP

Since Aug 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yalayolooo/pagerpro)[ Packagist](https://packagist.org/packages/yalayolooo/pagerpro)[ RSS](/packages/yalayolooo-pagerpro/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ISPagerPro
==========

[](#ispagerpro)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

A library to split results into miltiple pages

Install
-------

[](#install)

Via Composer

```
$ composer require yalayolooo/pagerpro
```

Usage
-----

[](#usage)

```
$obj = new ISPagerPro\DirPage(
    new ISPagerPro\PagesList(),
    'photos',
    3,
    2
);
echo "";
print_r($obj->getItems());
echo "";
echo "$obj";
```

```
$obj = new ISPagerPro\FilePager(
    new ISPagerPro\ItemsRange(),
    'largertextfile.txt'
);
echo "";
echo "$obj";
```

```
try {
    $pdo = new PDO(
        'mysql:host=localhost;dbname=test',
        'root',
        '',
        [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]
    );
    $obj = new ISPagerPro\PdoPage(
        new ISPagerPro\ItemsRange(),
        $pdo,
        'table_name'
    );
    echo "";
    print_r($obj->getItems());
    echo "";
    echo "$obj";
}
catch (PDOException $e){
    echo "Can't connect to database";
}
```

License
-------

[](#license)

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

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

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/f7a0bc6fd78446fb7631c9f2f6e099272375af90a0510cc25d28460da0db2ba4?d=identicon)[yalayolooo](/maintainers/yalayolooo)

---

Top Contributors

[![yalayolooo](https://avatars.githubusercontent.com/u/87960965?v=4)](https://github.com/yalayolooo "yalayolooo (2 commits)")

### Embed Badge

![Health badge](/badges/yalayolooo-pagerpro/health.svg)

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

###  Alternatives

[smalls/video-tools

短视频的拓展包，集成各大短视频的去水印功能

6868.8k](/packages/smalls-video-tools)

PHPackages © 2026

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