PHPackages                             saraf/qb - 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. saraf/qb

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

saraf/qb
========

an easy to use query builder for mysql

v2.0(10mo ago)56.0k6[1 PRs](https://github.com/SarafApp/ReactPHP-MySQL-QueryBuilder/pulls)MITPHPPHP &gt;=8.0CI failing

Since Oct 30Pushed 1mo agoCompare

[ Source](https://github.com/SarafApp/ReactPHP-MySQL-QueryBuilder)[ Packagist](https://packagist.org/packages/saraf/qb)[ RSS](/packages/saraf-qb/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (6)Versions (16)Used By (0)

Saraf Query Builder
===================

[](#saraf-query-builder)

This project is an easy-to-use query builder and mysql connection manager for saraf projects.

### Development

[](#development)

Before anything please ensure that you have `phpcs` `php-cs-fixer` installed on your machine. Then run the following commands to set up project for yourself.

```
sudo npm i -g @commitlint/config-conventional
pip install pre-commit
pre-commit install
pre-commit install --hook-type commit-msg
```

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance74

Regular maintenance activity

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 57.4% 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 ~116 days

Recently: every ~174 days

Total

12

Last Release

51d ago

Major Versions

v1.8 → v2.02025-08-02

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42109239?v=4)[Parsa](/maintainers/Parsoolak)[@Parsoolak](https://github.com/Parsoolak)

---

Top Contributors

[![hasanparasteh](https://avatars.githubusercontent.com/u/42239446?v=4)](https://github.com/hasanparasteh "hasanparasteh (27 commits)")[![yaldamahmoodi](https://avatars.githubusercontent.com/u/112390126?v=4)](https://github.com/yaldamahmoodi "yaldamahmoodi (13 commits)")[![skydiablo](https://avatars.githubusercontent.com/u/956423?v=4)](https://github.com/skydiablo "skydiablo (5 commits)")[![awohsen](https://avatars.githubusercontent.com/u/93778317?v=4)](https://github.com/awohsen "awohsen (2 commits)")

---

Tags

connection-poolmysqlquery-builderreactphp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/saraf-qb/health.svg)

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

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

42.9k337.6k1](/packages/ccxt-ccxt)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k406.5k25](/packages/team-reflex-discord-php)[internal/dload

Downloads binaries.

102187.3k17](/packages/internal-dload)[yemenopensource/filament-excel

This package useful for importing excel files into models.

194.2k](/packages/yemenopensource-filament-excel)

PHPackages © 2026

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