PHPackages                             wx/wxdb - 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. wx/wxdb

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

wx/wxdb
=======

dbutils like yii querybuilder

0.1.x-dev(10y ago)017Apache-2.0PHPPHP &gt;=5.5

Since Nov 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/xiaoxiaochengxyuan/wxdb)[ Packagist](https://packagist.org/packages/wx/wxdb)[ RSS](/packages/wx-wxdb/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

wxdb
====

[](#wxdb)

仿 YII1.1.5 QueryBuilder的数据库常用功能实现,用于在Swoole或者Workman等TCP高性能框架开发的时候使用. #开发说明： (1),必须安装PHP PDO扩展
(2),开发环境&gt;=5.5
(3),如果不使用数据库连接池那么请使用DBConnection对象,如果要使用数据库连接池请使用DBPoolConnecion对象
(4),在使用数据库连接的时候必须先安装php-connection-pool扩展
(5),支持Composer
(6),使用实列
$dbConnection = new DBConnection($dns,$username,$password,null);
$users = $dbConnection-&gt;createCommand()
-&gt;select()
-&gt;from('user')
-&gt;where('id in' =&gt; array(1,2,3,4))-&gt;order('age desc')
-&gt;limit(2,5)
-&gt;queryAll(); #联系方式  如果有大牛发现bug，可以发送到我邮箱哦！！

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3907d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

wxdb

### Embed Badge

![Health badge](/badges/wx-wxdb/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

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

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[voku/session2db

A PHP library acting as a wrapper for PHP's default session handling functions which stores data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.

3220.0k](/packages/voku-session2db)

PHPackages © 2026

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