Search by

68publishers / doctrine-query-objects

Jelen

Query objects for Doctrine ORM.

Package info

github.com/68publishers/doctrine-query-objects

pkg:composer/68publishers/doctrine-query-objects

Statistics

Installs: 381

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

v0.3.0 2026-10-28 15:09 UTC

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/orm version is 2.10.
  • ResultSetOptions::create() is a static method now.
  • Queries with no offset use setFirstResult(0) instead of setFirstResult(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