PHPackages                             pportelette/pageable-bundle - 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. [Database &amp; ORM](/categories/database)
4. /
5. pportelette/pageable-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

pportelette/pageable-bundle
===========================

This Bundle provides pagination repository's method based on Doctrine Paginator

v0.2.1(1y ago)0271MITPHPPHP &gt;=7.2.5

Since Feb 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/pportelette/SymfonyPageableBundle)[ Packagist](https://packagist.org/packages/pportelette/pageable-bundle)[ RSS](/packages/pportelette-pageable-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (9)Used By (1)

PageableBundle
==============

[](#pageablebundle)

This bundle adds a method 'getPage' to a Doctrine repository that paginates the result of a query. It provides also the methods 'add' and 'remove'.

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

[](#installation)

Open a command console, enter your project directory and execute:

```
$ composer require pportelette/pageable-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    Pportelette\PageableBundle\PportelettePageableBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

From a doctrine repository:

```
// src/Repository/MyRepository.php
use Pportelette\PageableBundle\Repository\AbstractRepository;
use Pportelette\PageableBundle\Model\Pageable;

class MyRepository extends AbstractRepository
{
    public function getAllPaginated(int $page): Pageable {
        $queryBuilder = $this->createQueryBuilder('e');

        $nbPerPage = 50;

        return $this->getPage(
            $queryBuilder,
            $page,
            $nbPerPage
        );
    }
}
```

That's it!

The third parameter is optional and is '30' by default. It is possible to change the default value by adding a configuration file:

```
# config/packages/pportelette_pageable.yaml
pportelette_pageable:
  default:
    nb_per_page: 50
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance41

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

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

Recently: every ~79 days

Total

8

Last Release

497d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7ebba3a51a057248a4e1e8989657782b3d41c474b13b6ada52b927077f27cd4?d=identicon)[pportelette](/maintainers/pportelette)

---

Top Contributors

[![pportelette](https://avatars.githubusercontent.com/u/20822596?v=4)](https://github.com/pportelette "pportelette (11 commits)")

### Embed Badge

![Health badge](/badges/pportelette-pageable-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pportelette-pageable-bundle/health.svg)](https://phpackages.com/packages/pportelette-pageable-bundle)
```

###  Alternatives

[hautelook/alice-bundle

Symfony bundle to manage fixtures with Alice and Faker.

19519.4M34](/packages/hautelook-alice-bundle)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

813.1k](/packages/ahmed-bhs-doctrine-doctor)[heymoon/doctrine-psql-enum

Store PHP native enums as PostgeSQL custom enum types

254.9k](/packages/heymoon-doctrine-psql-enum)

PHPackages © 2026

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