PHPackages                             knowbox/yii2-mycat-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. [Database &amp; ORM](/categories/database)
4. /
5. knowbox/yii2-mycat-db

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

knowbox/yii2-mycat-db
=====================

yii2

0.0.4(7y ago)310MITPHP

Since Feb 20Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Knowbox-dev/yii2-mycat-db)[ Packagist](https://packagist.org/packages/knowbox/yii2-mycat-db)[ RSS](/packages/knowbox-yii2-mycat-db/feed)WikiDiscussions master Synced 2d ago

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

yii-mycat-db
============

[](#yii-mycat-db)

#### 项目介绍

[](#项目介绍)

yii sql添加traceId

#### 软件架构

[](#软件架构)

软件架构说明

#### 安装教程

[](#安装教程)

1. composer require knowbox/yii2-mycat-db

#### 使用说明

[](#使用说明)

1. 网关层header添加头 X-Request-Id
2. 数据库配置使用 Knowbox\\Mycat\\Connection

'class' =&gt; 'Knowbox\\Mycat\\Connection',

#### 参与贡献

[](#参与贡献)

g

1. Fork 本项目
2. 新建 Feat\_xxx 分支
3. 提交代码
4. 新建 Pull Request

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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

Every ~3 days

Total

4

Last Release

2631d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/knowbox-yii2-mycat-db/health.svg)

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

###  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)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

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

Reliese Components for Laravel Framework code generation.

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

PHPackages © 2026

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