PHPackages                             premekkoch/pkpaginator - 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. premekkoch/pkpaginator

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

premekkoch/pkpaginator
======================

Nette Framework extended paginator with different items count on first page

0.0.2(10y ago)027PHPPHP &gt;=5.4

Since Mar 19Pushed 10y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

PremekKoch\\PkPaginator
=======================

[](#premekkochpkpaginator)

Extended Nette framework paginator, which allows different items count on first page.

Instalation
-----------

[](#instalation)

```
composer require premekkoch/pkpaginator

```

How to use
----------

[](#how-to-use)

Use PkPaginator instead of Nette\\Utils\\Paginator [by the same way](https://doc.nette.org/en/2.3/pagination). For different items count on first page, set this count by calling `setItemsOnFirstPage();`. If you don't do this, PkPaginator works with original behavior of Nette\\Utils\\Paginator with same items count on each page.

```
	$paginator = new PremekKoch\PkPaginator();
	$paginator->setItemCount(356); // total number of items
	$paginator->setItemsOnFirstPage(5); // items count on first page
	$paginator->setItemsPerPage(30); // items per 2nd and next pages
	$paginator->setPage(1); // actual page number

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~0 days

Total

2

Last Release

3704d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0124c7578878cd1f7e1987a73f731277f113af61a4f623d8a8266a2e40f87684?d=identicon)[premekkoch](/maintainers/premekkoch)

---

Top Contributors

[![premekkoch](https://avatars.githubusercontent.com/u/895425?v=4)](https://github.com/premekkoch "premekkoch (3 commits)")

---

Tags

nettepaginator

### Embed Badge

![Health badge](/badges/premekkoch-pkpaginator/health.svg)

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

###  Alternatives

[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)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M576](/packages/nette-php-generator)[nette/robot-loader

🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.

89152.7M321](/packages/nette-robot-loader)[nette/component-model

⚛ Nette Component Model

28516.5M91](/packages/nette-component-model)[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[contributte/di

Extra contrib to nette/di

465.8M18](/packages/contributte-di)

PHPackages © 2026

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