PHPackages                             daniil/pager - 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. daniil/pager

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

daniil/pager
============

A library to split results into multiple pages

v1.0.0(2y ago)07MITPHP

Since May 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/FinesFerb/pager)[ Packagist](https://packagist.org/packages/daniil/pager)[ RSS](/packages/daniil-pager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

ISPager
=======

[](#ispager)

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

А library to split results into multiple pages

Install
-------

[](#install)

Via Composer

```
$ composer require daniil/pager
```

Usage
-----

[](#usage)

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

```
$obj = new ISPager\FilePager(
    new ISPager\ItemsRange(),
    'largetextfile.txt');
echo '';
print_r($obj->getItems());
echo '';
echo "$obj";
```

```
try {
    $pdo = new РDО(
        'pgsql:host=localhost;dbname=test',
        'root'
    );
    $obj = new ISPager\PdoPager(
        new ISPager\ItemsRange(),
        $pdo,
        'table_name');
    echo '';
    print_r($obj->getItems());
    echo '';
    echo "$obj";
}
catch (PDOException $е) {
    echo "Can't connect to database";
}
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/dnoegel/php-xdg-base-dir/blob/master/LICENSE) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

734d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/daniil-pager/health.svg)

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

###  Alternatives

[jiannei/laravel-enum

A simple and easy-to-use enumeration extension package to help you manage enumerations in your project more conveniently, supporting Laravel and Lumen

3933.4k5](/packages/jiannei-laravel-enum)[keyword-extractor/keyword-extractor

A package to extract keywords from text

118.7k](/packages/keyword-extractor-keyword-extractor)[christianbarkowsky/tabcontrol

Create tabs as content element. Extension for Contao Open Source CMS

109.9k](/packages/christianbarkowsky-tabcontrol)

PHPackages © 2026

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