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

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

tigron/skeleton-pager
=====================

Tigron Skeleton pager functionality

v3.0.22(2mo ago)018.7k↓30%2[2 PRs](https://github.com/tigron/skeleton-pager/pulls)2MITPHP

Since Aug 14Pushed 2mo ago5 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (70)Used By (2)

skeleton-pager
==============

[](#skeleton-pager)

Description
-----------

[](#description)

This library enables paging functionality for objects created with traits in skeleton-object.

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

[](#installation)

Installation via composer:

```
composer require tigron/skeleton-pager

```

Howto
-----

[](#howto)

```
$pager = new Pager('my_object');

$pager->add_sort_permission('field1');
$pager->add_sort_permission('field2');
$pager->add_sort_permission('field3');
$pager->add_sort_permission('remote_table.field4');
$pager->set_sort('field3');
$pager->set_direction('desc');

if (isset($_POST['search'])) {
	$pager->set_search($_POST['search'], [ 'field2', 'remote_table.field4');
}

$pager->add_condition('field1', '=', 1);
$pager->add_condition('field2', 'IN', [ 1, 2, 3, null]);

$condition = new \Skeleton\Pager\Sql\Condition('my_other_field', '>', '0);
$pager->add_join('remote_table', remote_id', 'local_field', $condition);

$pager->page();

```

Configuration
-------------

[](#configuration)

```
/**
 * Items per page
 */
\Skeleton\Pager\Config::$items_per_page = 20;

/**
 * Per page list
 */
\Skeleton\Pager\Config::$per_page_list = [20, 50, 100];

/**
 * Sticky pager
 *
 * Remember pager when navigating away and back to the module
 */
\Skeleton\Pager\Config::$sticky_pager = false;

/**
 * Links template
 *
 * Set the template to render the page links
 */
\Skeleton\Pager\Config::$links_template = '@skeleton-pager\links.twig';

```

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance86

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~56 days

Recently: every ~47 days

Total

69

Last Release

69d ago

Major Versions

v0.2.2 → v2.0.32021-08-25

v2.0.11 → v3.0.02022-11-30

v2.0.13 → v3.0.22023-03-02

2.x-dev → v3.0.42023-06-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/8bff1383483dacb0c3f89d2d3856ae03d4cf3e80de26a2998248dd1175317285?d=identicon)[tigron](/maintainers/tigron)

---

Top Contributors

[![christopheg](https://avatars.githubusercontent.com/u/199087?v=4)](https://github.com/christopheg "christopheg (47 commits)")[![LionelLaffineur](https://avatars.githubusercontent.com/u/21120913?v=4)](https://github.com/LionelLaffineur "LionelLaffineur (25 commits)")[![gerryd](https://avatars.githubusercontent.com/u/3003371?v=4)](https://github.com/gerryd "gerryd (20 commits)")[![davidvandemaele](https://avatars.githubusercontent.com/u/1914033?v=4)](https://github.com/davidvandemaele "davidvandemaele (8 commits)")[![SanderTigron](https://avatars.githubusercontent.com/u/45229883?v=4)](https://github.com/SanderTigron "SanderTigron (5 commits)")[![SanderVanKeer](https://avatars.githubusercontent.com/u/10955678?v=4)](https://github.com/SanderVanKeer "SanderVanKeer (5 commits)")[![kvassia](https://avatars.githubusercontent.com/u/131980475?v=4)](https://github.com/kvassia "kvassia (2 commits)")[![RoanB](https://avatars.githubusercontent.com/u/77972728?v=4)](https://github.com/RoanB "RoanB (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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