pagerwave / doctrine-dbal-extension
PagerWave extension for Doctrine DBAL support
v1.4.0
2024-06-08 09:43 UTC
Requires
- php: 7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.*|8.3.*
- doctrine/dbal: ^2.5|^3.0
- postmill/pagerwave: ^2.0
Requires (Dev)
- ext-pdo_sqlite: *
- phpunit/phpunit: ^8.5
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.