PHPackages                             tianjian/zzw\_yaf - 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. tianjian/zzw\_yaf

ActiveLibrary[Framework](/categories/framework)

tianjian/zzw\_yaf
=================

yaf扩展包

1.1.2(5y ago)010MITPHPPHP &gt;=7.0

Since Apr 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dangcingzzw/tianjian)[ Packagist](https://packagist.org/packages/tianjian/zzw_yaf)[ RSS](/packages/tianjian-zzw-yaf/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

介绍
==

[](#介绍)

该包用于yaf,yar为核心的分布式rpc框架核心库 使用该包应确认已安装php相关扩展，如yaf,yar,yac,seaslog,redis

yaf用 C 语言开发的 PHP 框架，相比原生的 PHP，几乎不会带来额外的性能开销 简介 一.IO文件包括输入，输出 输入：将yaf提供的请求类（Yaf\_Controller\_Abstract::getRequest）与tp验证类结合在一起,封装成\\TC\\IO\\Input类。 输出：将接口响应，错误抛出，返回code码，统一封装\\TC\\IO\\Output类。

优势：参数验证简洁高效，输出健全而统一

二.Db文件 核心为Medoo轻量级ORM,对其进行封装，省略表名，实现单例

三.Client文件 对yar(rpc框架)的封装，并增加trace\_id,用于识别请求，管理日志

四.Cache文件 封装redis,yac,并集成wave波式缓存

五.Di文件 基于Yaf\_Registry封装的di容器类

六.Sdk文件 封装服务发现和服务注册方法

七.Log文件 封装Seaslog日志类

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Every ~0 days

Total

2

Last Release

1861d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2eefb3c0e77a30e7190789c4cc3608249e70816604a2b08dbfb6ee25e73728ba?d=identicon)[dangcingzzw](/maintainers/dangcingzzw)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tianjian-zzw-yaf/health.svg)

```
[![Health](https://phpackages.com/badges/tianjian-zzw-yaf/health.svg)](https://phpackages.com/packages/tianjian-zzw-yaf)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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