PHPackages                             knplabs/knp-components - 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. knplabs/knp-components

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

knplabs/knp-components
======================

Knplabs component library

v5.3.0(1w ago)77446.5M↓34.4%138[7 issues](https://github.com/KnpLabs/knp-components/issues)[2 PRs](https://github.com/KnpLabs/knp-components/pulls)20MITPHPPHP ^8.2CI passing

Since Mar 23Pushed 1w ago16 watchersCompare

[ Source](https://github.com/KnpLabs/knp-components)[ Packagist](https://packagist.org/packages/knplabs/knp-components)[ Docs](https://github.com/KnpLabs/knp-components)[ RSS](/packages/knplabs-knp-components/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (27)Versions (61)Used By (20)

Knp Component library
=====================

[](#knp-component-library)

[![Build Status](https://github.com/KnpLabs/knp-components/workflows/build/badge.svg)](https://github.com/KnpLabs/knp-components/actions)

Components in this library:
---------------------------

[](#components-in-this-library)

- [Pager](https://github.com/knplabs/knp-components/tree/master/docs/pager/intro.md)fancy paginator component

Running unit tests
------------------

[](#running-unit-tests)

PHPUnit 11+ is required. To setup and run tests follow these steps:

- go to the root directory of components
- run:

```
    composer install
    composer test
```

Maintainers
-----------

[](#maintainers)

Please read [this post](https://knplabs.com/en/blog/news-for-our-foss-projects-maintenance) first.

This library is maintained by the following people (alphabetically sorted) :

- @garak
- @polc

###  Health Score

80

—

ExcellentBetter than 100% of packages

Maintenance97

Actively maintained with recent releases

Popularity73

Solid adoption and visibility

Community46

Growing community involvement

Maturity90

Battle-tested with a long release history

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

Recently: every ~208 days

Total

60

Last Release

11d ago

Major Versions

1.3.x-dev → v2.0.02019-06-26

v2.5.1 → v3.0.02020-11-30

v3.6.0 → v4.0.02022-09-18

v4.4.0 → v5.0.02024-08-22

PHP version history (8 changes)v1.0PHP &gt;=5.3.0

1.1.1PHP &gt;=5.3.2

v2.0.0PHP ^7.2

v3.0.0PHP ^7.3 || ^8.0

v3.5.0PHP ^7.4 || ^8.0

v4.0.0PHP ^8.0

v5.0.0PHP ^8.1

v5.3.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/202732?v=4)[KNP Labs](/maintainers/KnpLabs)[@KnpLabs](https://github.com/KnpLabs)

---

Top Contributors

[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (145 commits)")[![l3pp4rd](https://avatars.githubusercontent.com/u/132389?v=4)](https://github.com/l3pp4rd "l3pp4rd (71 commits)")[![polc](https://avatars.githubusercontent.com/u/3513348?v=4)](https://github.com/polc "polc (29 commits)")[![stloyd](https://avatars.githubusercontent.com/u/67402?v=4)](https://github.com/stloyd "stloyd (23 commits)")[![pilot](https://avatars.githubusercontent.com/u/28564?v=4)](https://github.com/pilot "pilot (17 commits)")[![docteurklein](https://avatars.githubusercontent.com/u/109846?v=4)](https://github.com/docteurklein "docteurklein (9 commits)")[![leonex-cs1](https://avatars.githubusercontent.com/u/10447971?v=4)](https://github.com/leonex-cs1 "leonex-cs1 (5 commits)")[![dancannon](https://avatars.githubusercontent.com/u/414768?v=4)](https://github.com/dancannon "dancannon (5 commits)")[![daria-sieroshtan](https://avatars.githubusercontent.com/u/37207974?v=4)](https://github.com/daria-sieroshtan "daria-sieroshtan (4 commits)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (4 commits)")[![ChubV](https://avatars.githubusercontent.com/u/2264412?v=4)](https://github.com/ChubV "ChubV (4 commits)")[![nicolasmure](https://avatars.githubusercontent.com/u/4362252?v=4)](https://github.com/nicolasmure "nicolasmure (3 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (3 commits)")[![tristanbes](https://avatars.githubusercontent.com/u/346010?v=4)](https://github.com/tristanbes "tristanbes (3 commits)")[![W0rma](https://avatars.githubusercontent.com/u/20659830?v=4)](https://github.com/W0rma "W0rma (3 commits)")[![canni](https://avatars.githubusercontent.com/u/385754?v=4)](https://github.com/canni "canni (3 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (3 commits)")[![krizon](https://avatars.githubusercontent.com/u/880695?v=4)](https://github.com/krizon "krizon (3 commits)")[![markitosgv](https://avatars.githubusercontent.com/u/1706470?v=4)](https://github.com/markitosgv "markitosgv (3 commits)")[![MDrollette](https://avatars.githubusercontent.com/u/329784?v=4)](https://github.com/MDrollette "MDrollette (3 commits)")

---

Tags

knpknplabspagercomponentspaginator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/knplabs-knp-components/health.svg)

```
[![Health](https://phpackages.com/badges/knplabs-knp-components/health.svg)](https://phpackages.com/packages/knplabs-knp-components)
```

###  Alternatives

[symfony/event-dispatcher

Provides tools that allow your application components to communicate with each other by dispatching events and listening to them

8.5k1.1B4.6k](/packages/symfony-event-dispatcher)[knplabs/knp-paginator-bundle

Paginator bundle for Symfony to automate pagination and simplify sorting and other features

1.8k45.5M371](/packages/knplabs-knp-paginator-bundle)[knplabs/knp-time-bundle

Making your dates and durations look sensible and descriptive

6329.7M60](/packages/knplabs-knp-time-bundle)[jasongrimes/paginator

A lightweight PHP paginator, for generating pagination controls in the style of Stack Overflow and Flickr. The 'first' and 'last' page links are shown inline as page numbers, and excess page numbers are replaced by ellipses.

4071.3M22](/packages/jasongrimes-paginator)[ashleydawson/simple-pagination

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

18163.2k2](/packages/ashleydawson-simple-pagination)[ttskch/paginator-bundle

The most thin, simple and customizable paginator bundle for Symfony

1115.8k](/packages/ttskch-paginator-bundle)

PHPackages © 2026

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