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.2.0(1y ago)77443.6M—6.2%138[7 issues](https://github.com/KnpLabs/knp-components/issues)[2 PRs](https://github.com/KnpLabs/knp-components/pulls)20MITPHPPHP ^8.1CI failing

Since Mar 23Pushed 10mo 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 1mo ago

READMEChangelog (10)Dependencies (13)Versions (60)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 10 or 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

67

—

FairBetter than 100% of packages

Maintenance49

Moderate activity, may be stable

Popularity73

Solid adoption and visibility

Community45

Growing community involvement

Maturity86

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

Recently: every ~93 days

Total

59

Last Release

425d 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 (7 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

### 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 (143 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

[knplabs/knp-paginator-bundle

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

1.8k42.8M315](/packages/knplabs-knp-paginator-bundle)[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[knplabs/knp-time-bundle

Making your dates and durations look sensible and descriptive

6308.9M39](/packages/knplabs-knp-time-bundle)[livewire/flux

The official UI component library for Livewire.

9475.0M86](/packages/livewire-flux)[league/uri-components

URI components manipulation library

31932.3M67](/packages/league-uri-components)[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)
