PHPackages                             hypercode/queryrunner - 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. hypercode/queryrunner

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

hypercode/queryrunner
=====================

A form to create and execute querys using PHP.

1.0.0(5y ago)22MITPHP

Since Jan 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/JoaoGabrielOliveira/hyper_query_runner)[ Packagist](https://packagist.org/packages/hypercode/queryrunner)[ RSS](/packages/hypercode-queryrunner/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

QueryRunner
===========

[](#queryrunner)

Using the packages **[Query](https://packagist.org/packages/hypercode/query)** and **[DatabaseConnection](https://github.com/JoaoGabrielOliveira/hyper_database_connector)**, use the **QueryRunner**. A form to create and execute querys using PHP.

First step is set a database.

```
ConnectionManagement::setDatabase([
'db' => [
    "driver" => "psql",
    "host" => "localhost",
    "port" => "8080",
    "dbname" => "clients_db",
    "user" => "root",
    "password" => "1234",
]
]);
```

Now, you can use normally QueryRunner.

QueryRunner use the same form of Query from Hyper. First, you build query

```
$query = new QueryRunner;
$query->select('TableName', 'name,age,created_by');
```

After that, you can use three methods to execute the query.

### fetch

[](#fetch)

Execute query and return **just the first result**.

```
$query->select('TableName')->fetch();
```

### fetchAll

[](#fetchall)

Execute query and return **all result inside of a array**.

```
$query->select('TableName')->fetchAll();
```

### execute

[](#execute)

Execute query and return **rows number affects**.

```
$query->select('TableName')->execute();
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2007d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50085959?v=4)[João "John" Gabriel](/maintainers/JoaoGabrielOliveira)[@JoaoGabrielOliveira](https://github.com/JoaoGabrielOliveira)

### Embed Badge

![Health badge](/badges/hypercode-queryrunner/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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