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

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

tunnela/query
=============

Query, the easy to use MySQL query builder.

318PHP

Since Aug 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tunnela/query)[ Packagist](https://packagist.org/packages/tunnela/query)[ RSS](/packages/tunnela-query/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#Query **Query, the easy to use MySQL query builder.**

Easy Installation
-----------------

[](#easy-installation)

### Install with [Composer](https://getcomposer.org/)

[](#install-with-composer)

I you have not installed Composer yet, follow the [instructions](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) on Composer website.

To install Query package with Composer, simply add the requirement to your composer.json file:

```
{
  "require" : {
    "tunnela/query" : "dev-master"
  }
}
```

If this is the first time you use Composer, change to your PHP application directory and run the following command:

```
$ php composer.phar install
```

and require autoloader somewhere at the start of your PHP application:

```
require 'vendor/autoload.php';
```

If this is is not the first time you use Composer, you probably already knew that you should run:

```
$ php composer.phar update
```

TODO
----

[](#todo)

- Basic usage instructions
- Tests

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![tunnela](https://avatars.githubusercontent.com/u/5994856?v=4)](https://github.com/tunnela "tunnela (22 commits)")

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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