PHPackages                             ifedko/php-doctrine-dbal-pagination - 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. ifedko/php-doctrine-dbal-pagination

ActiveLibrary[Database &amp; ORM](/categories/database)

ifedko/php-doctrine-dbal-pagination
===================================

Php pagination builder using doctrine dbal

3.0.3(2y ago)10113.7k↓14.1%14[2 issues](https://github.com/ifedko/php-doctrine-dbal-pagination/issues)[1 PRs](https://github.com/ifedko/php-doctrine-dbal-pagination/pulls)MITPHPPHP &gt;=7.3

Since Aug 10Pushed 2y ago4 watchersCompare

[ Source](https://github.com/ifedko/php-doctrine-dbal-pagination)[ Packagist](https://packagist.org/packages/ifedko/php-doctrine-dbal-pagination)[ RSS](/packages/ifedko-php-doctrine-dbal-pagination/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (16)Used By (0)

PHP DOCTRINE DBAL pagination
============================

[](#php-doctrine-dbal-pagination)

The goal
--------

[](#the-goal)

Everyone faces the task when it's required to get list of items by customizable filters, to sort by customizable parameters and paginate these items. This library helps to do it.

Usage
-----

[](#usage)

### GETTING STARTED

[](#getting-started)

Examples work with table `users` (`id`, `is_active`, `name`, `created_at`).

At first create your builder. It's necessary to define base query there:

```
