PHPackages                             poznet/arraypaginator - 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. poznet/arraypaginator

ActiveLibrary

poznet/arraypaginator
=====================

Simple array pagination in view

05PHP

Since Jun 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/poznet/Array-Paginator)[ Packagist](https://packagist.org/packages/poznet/arraypaginator)[ RSS](/packages/poznet-arraypaginator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Array-Paginator
===============

[](#array-paginator)

Simple Array Pagginator Bundle for Symfony 2

[![SensioLabsInsight](https://camo.githubusercontent.com/a8d027a645fed8c943a5dae6aef6252a337be440a5677a866a6fa48f1d919873/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62316136303764362d613065372d343937392d623039332d3639383736613334613233372f6269672e706e67)](https://insight.sensiolabs.com/projects/b1a607d6-a0e7-4979-b093-69876a34a237)

As long as you paginate query elements ( using for example [KNP Paginator Bundle](https://github.com/KnpLabs/KnpPaginatorBundle) ) there is no problem, but sometimes there is a need to paginate array elements in view.

I got problem with implementation KNPPaginatorBundle to paginate elements of array , so i created this.

\###Installation Simple : `composer require poznet/arraypaginator`

\###Usage

**in parameters**

define how much element's you want to show on eah page :

```
parameters:
    poznet_array_paginator:
      - perpage: 9

```

**in Controller**

```
$tab=array();
$pagination=$this->get('poznet.array.paginator')->paginate($tab);

return array('pagination'=>$pagination);

```

**in View**

- render array elements as normally ( foreach )
- in place where you want to have pagination add twig function `{{ pagination()  }} `

### TODO

[](#todo)

in future :

- some better routing (cofigured by parameters)
- using views togenerate pagination

### Licence

[](#licence)

This Bundle is licensed under the MIT License. Feel free to contribute.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 53.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/99af49a96deba62fa669a5d262344aba5d7ca624f40b13eee1135295e57940cb?d=identicon)[j00seph](/maintainers/j00seph)

---

Top Contributors

[![Glajc](https://avatars.githubusercontent.com/u/15075868?v=4)](https://github.com/Glajc "Glajc (8 commits)")[![poznet](https://avatars.githubusercontent.com/u/2962765?v=4)](https://github.com/poznet "poznet (7 commits)")

### Embed Badge

![Health badge](/badges/poznet-arraypaginator/health.svg)

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

PHPackages © 2026

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