pagerwave/doctrine-dbal-extension

PagerWave extension for Doctrine DBAL support

v1.4.0 2024-06-08 09:43 UTC

This package is auto-updated.

Last update: 2024-11-22 18:33:21 UTC


README

This package lets you paginate Doctrine DBAL query builders using PagerWave.

Installation

$ composer require pagerwave/doctrine-dbal-extension

Usage

use PagerWave\Extension\DoctrineDbal\QueryBuilderAdapter;

$queryBuilder = $conn->createQueryBuilder()
    ->select('a.*')
    ->from('articles', 'a');

$adapter = new QueryBuilderAdapter($queryBuilder);

Read the PagerWave documentation to learn more.

Licence

This project is released under the Zlib licence.