PHPackages                             adt/query-utils - 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. adt/query-utils

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

adt/query-utils
===============

Doctrine query helpers for ADT.

v2.1.1(7y ago)125.9k↓100%1[1 issues](https://github.com/AppsDevTeam/QueryUtils/issues)BSD-3-ClausePHP

Since Apr 11Pushed 7y ago4 watchersCompare

[ Source](https://github.com/AppsDevTeam/QueryUtils)[ Packagist](https://packagist.org/packages/adt/query-utils)[ Docs](http://appsdevteam.com)[ RSS](/packages/adt-query-utils/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

Query Utils
===========

[](#query-utils)

Set of Doctrine ORM query helpers.

Prepared Queries
----------------

[](#prepared-queries)

All predefined queries share common ancestor: `Query\BaseQuery`. This class exposes these public methods:

1. `bindExprTo($qb)` - binds generated expression to your QueryBuilder,
2. `bindParametersTo($qb)` - binds generated parameters to your QueryBuilder,
3. `bindTo($qb)` - binds expression and parameters to your QueryBuilder.

Also, `bindExprTo` and `bindTo` have second, optional parameter `$method` which defaults to `and`. This represents method used for binding.

1. if `and` is passed, `$qb->andWhere(...)` is used,
2. if `or` is passed, `$qb->orWhere(...)` is used.

### Full-text Query

[](#full-text-query)

For string `$q` to lookup on columns `client.firstName` and `client.lastName` use following:

long form:

```
$helper = new \ADT\QueryUtils\Query\FullTextQuery($q, [
    'client.firstName', 'client.lastName'
]);

$helper->bindTo($queryBuilder);
```

or short form:

```
\ADT\QueryUtils\Query\FullTextQuery::create($q, [
    'client.firstName', 'client.lastName'
])->bindTo($queryBuilder);
```

###  Health Score

30

↓

LowBetter than 67% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~257 days

Total

5

Last Release

2603d ago

Major Versions

1.0.1 → v2.02018-07-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/5575ff5b286a1982356d8ed7d8fc9f44385b44ef1108f34ac8c71b106d0c69ec?d=identicon)[michallohnisky](/maintainers/michallohnisky)

![](https://www.gravatar.com/avatar/b14b3ccdfe1f00a01596de650930f4dcb5de964af406a2cb7a9dafdf75decc6a?d=identicon)[appsdevteam](/maintainers/appsdevteam)

---

Top Contributors

[![michallohnisky](https://avatars.githubusercontent.com/u/4747059?v=4)](https://github.com/michallohnisky "michallohnisky (3 commits)")

### Embed Badge

![Health badge](/badges/adt-query-utils/health.svg)

```
[![Health](https://phpackages.com/badges/adt-query-utils/health.svg)](https://phpackages.com/packages/adt-query-utils)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k280.5M5.6k](/packages/doctrine-orm)[mongodb/mongodb

MongoDB driver library

1.6k62.7M499](/packages/mongodb-mongodb)[spatie/laravel-translatable

A trait to make an Eloquent model hold translations

2.4k22.1M350](/packages/spatie-laravel-translatable)[maxmind-db/reader

MaxMind DB Reader API

69796.7M45](/packages/maxmind-db-reader)[doctrine/coding-standard

The Doctrine Coding Standard is a set of PHPCS rules applied to all Doctrine projects.

32113.7M644](/packages/doctrine-coding-standard)[hipsterjazzbo/landlord

A simple, single database multi-tenancy solution for Laravel 5.2+

608269.5k1](/packages/hipsterjazzbo-landlord)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
