PHPackages                             irongomme/extended-paginator - 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. irongomme/extended-paginator

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

irongomme/extended-paginator
============================

ExtendedPaginator plugin for CakePHP

00PHP

Since Jun 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/irongomme/ExtendedPaginator)[ Packagist](https://packagist.org/packages/irongomme/extended-paginator)[ RSS](/packages/irongomme-extended-paginator/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

ExtendedPaginator plugin for CakePHP
====================================

[](#extendedpaginator-plugin-for-cakephp)

Simple plugin to extend CakePHP 3 Paginator Component, with customized and additionnals queryParams.

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require irongomme/ExtendedPaginator

```

Then load it in your app:

```
./bin/cake plugin load ExtendedPaginator

```

And configure it in your controller:

```
public function initialize()
{
    parent::initialize();

    $this->loadComponent('Paginator', [
        'className' => 'ExtendedPaginator.ExtendedPaginator'
    ]);
}

```

available options
-----------------

[](#available-options)

### Fields choice for paginated model

[](#fields-choice-for-paginated-model)

- queryParam = fields
- values = comma separated fields

Ex: [http://myapp/articles?limit=100&amp;fields=title,content](http://myapp/articles?limit=100&fields=title,content)

Will output:

```
{
    results: [
        {
            id: 1,
            title: "Lorem Ipsum",
            content: "Lorem Ipsum Lorem Ipsum Lorem Ipsum ..."
        },
        {
            ...
        }
    ]
}

```

### Unique sorting and multiple sorting with single queryParam

[](#unique-sorting-and-multiple-sorting-with-single-queryparam)

- queryParam = sort
- values = comma separated fields, prefix with - for desc

Ex: [http://myapp/articles?limit=100&amp;sort=title,-author\_id](http://myapp/articles?limit=100&sort=title,-author_id)

Will sort by title ascending, then by author\_id descending.

### Contain associated models

[](#contain-associated-models)

- queryParam = contain
- values = comma separated models, with optionnal fields selection in it, by collapsing \[field1,field2,...\] to model name

Ex: [http://myapp/articles?limit=100&amp;contain=authors\[firstname,lastname\]](http://myapp/articles?limit=100&contain=authors%5Bfirstname,lastname%5D)Ex: [http://myapp/articles?limit=100&amp;contain=authors,category\[name\]](http://myapp/articles?limit=100&contain=authors,category%5Bname%5D)

If no fields are specified, all fields will be shown.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1575876?v=4)[Djé](/maintainers/irongomme)[@irongomme](https://github.com/irongomme)

### Embed Badge

![Health badge](/badges/irongomme-extended-paginator/health.svg)

```
[![Health](https://phpackages.com/badges/irongomme-extended-paginator/health.svg)](https://phpackages.com/packages/irongomme-extended-paginator)
```

###  Alternatives

[lendable/clock

Clock Abstraction

15278.8k](/packages/lendable-clock)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

591.7k1](/packages/crumbls-layup)[alsatian/form-bundle

Symfony form types to extend built-in types. Ideal for Select2 AJAX implementations.

1424.6k](/packages/alsatian-form-bundle)

PHPackages © 2026

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