PHPackages                             sing/zphp - 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. [Framework](/categories/framework)
4. /
5. sing/zphp

ActiveLibrary[Framework](/categories/framework)

sing/zphp
=========

Asynchronous non-blocking framework based on ZPHP transformation

4.0.11(7y ago)284MITPHP

Since Dec 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/gitzhuhe/zphp)[ Packagist](https://packagist.org/packages/sing/zphp)[ RSS](/packages/sing-zphp/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (11)Used By (0)

zphp
====

[](#zphp)

框架依赖

\#####路由默认 配置：

```
'project'=>array('name'=>'zhttp',
        'view'=> [
            'tag'=>false,
        ],
        'pid_path'  => ROOTPATH.'/webroot',
        'mvc'  => [
            'app'=>'app','module'=>'Home', 'controller' => 'Index', 'action' => 'index'
        ],
        'reload' => DEBUG,
)

```

\#####路由规则：

```
ip:port/$app/$module/$controller/$action
ip:port/$module/$controller/$action
ip:port/$controller/$action
ip:port/$controller

```

**其余都读取配置文件中的参数**

\#####service调用方式

```
App::service("App#test")->test();

```

\#####model调用方式

```
App::model("App#test")->test();

```

\#####多个数据库配置：

```
'mysql' => array(
        'default' => [
            'host' => '127.0.0.1',
            'port' => 3306,
            'user' => 'root',
            'password' => '******',
            'database' => 'zhttp',
            'asyn_max_count' => 2,
            'start_count' => 2,
        ],
        'read' => [
            'host' => '127.0.0.1',
            'port' => 3306,
            'user' => 'root',
            'password' => '******',
            'database' => 'zhttp',
            'asyn_max_count' => 5,
            'start_count' => 5,
        ]
    )

```

\#####数据库操作方式

```
Db::table("#DbName$tableName")

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 63.3% 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 ~30 days

Total

10

Last Release

2741d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16486483?v=4)[独家首发](/maintainers/gitzhuhe)[@gitzhuhe](https://github.com/gitzhuhe)

---

Top Contributors

[![keaixiaou](https://avatars.githubusercontent.com/u/13299190?v=4)](https://github.com/keaixiaou "keaixiaou (114 commits)")[![gitzhuhe](https://avatars.githubusercontent.com/u/16486483?v=4)](https://github.com/gitzhuhe "gitzhuhe (66 commits)")

### Embed Badge

![Health badge](/badges/sing-zphp/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M294](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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