68publishers / doctrine-query-objects
Query objects for Doctrine ORM.
Package info
github.com/68publishers/doctrine-query-objects
pkg:composer/68publishers/doctrine-query-objects
Requires
- php: ^8.3
- doctrine/orm: ^2.10 || ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.75
- nette/di: ^3.0.3
- nette/neon: ^3.4
- nette/tester: ^2.6
- nette/utils: ^3.2 || ^4.0
- roave/security-advisories: dev-latest
Suggests
- nette/di: For integration with Nette Framework.
- nette/utils: If you want to use ResultSet Applicator NettePaginatorApplicator.
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-28 15:10:01 UTC
README
⚠️ Warning! This package does not have active support, it exists only for the historical needs of the author.
Doctrine Query Objects
Query Objects for Doctrine ORM inspired by implementation in kdyby/doctrine.
Installation
The best way to install 68publishers/doctrine-query-objects is using Composer:
$ composer require 68publishers/doctrine-query-objects
Requirements: PHP ^8.3 and doctrine/orm ^2.10 || ^3.0. The Nette integration requires nette/di ^3.0.3, the NettePaginatorApplicator requires nette/utils ^3.2 || ^4.0.
Upgrade
From 0.2 to 0.3
- The minimal PHP version is 8.3 and the minimal
doctrine/ormversion is 2.10. ResultSetOptions::create()is a static method now.- Queries with no offset use
setFirstResult(0)instead ofsetFirstResult(NULL)(required by ORM 3).
Configuration
extensions: doctrine_query_objects: SixtyEightPublishers\DoctrineQueryObjects\Bridge\Nette\DI\DoctrineQueryObjectsExtension
Usage
@todo
Contributing
Before committing any changes, don't forget to run
$ vendor/bin/php-cs-fixer fix -v --dry-run
and
$ composer run tests