PHPackages                             catphp/db - 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. catphp/db

ActiveLibrary

catphp/db
=========

very usefual lib for operate db

1.1.2(8y ago)020mitPHP

Since Jan 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/luyucia/CatPHP-package)[ Packagist](https://packagist.org/packages/catphp/db)[ RSS](/packages/catphp-db/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

CatPHP-package
==============

[](#catphp-package)

CatPHP composer version

```
use CatPHP\DB\DB;
use CatPHP\DB\Sql;

$dbconfig    = [
    'type'=>'mysql',
    'host'=>'xxxxxxx',
    'username'=>'root',
    'password'=>'xxxxxxxxx',
    'database'=>'xxxxx',
    'port'=>' 3306',
    'charset'=>'utf8'
];

$db          = new DB($dbconfig);

$rs = $db->page(1,2)->query("select * from m_user");

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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 ~32 days

Total

4

Last Release

2948d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b60fdb2e8a3f51dc015e5d18c032e471564fba63cb494b2facf1bb6b35a64eb?d=identicon)[luyucia](/maintainers/luyucia)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/catphp-db/health.svg)

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

PHPackages © 2026

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