PHPackages                             finger/yaflib - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. finger/yaflib

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

finger/yaflib
=============

2.1.7(6y ago)122335[1 PRs](https://github.com/fingerQin/yaflib/pulls)MITPHPPHP &gt;=7.2.0

Since Dec 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/fingerQin/yaflib)[ Packagist](https://packagist.org/packages/finger/yaflib)[ Docs](https://phpjieshuo.com)[ RSS](/packages/finger-yaflib/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (14)Used By (0)

yaflib
======

[](#yaflib)

yaflib 是作者使用 Yaf 框架过程中完成金融项目不断实现并优化而来。现在不仅应用在公司项目中，还会在自己放在 GitHub 上的 Yaf-Server-Admin 等使用 Yaf 框架的项目中。

之前是将这一套类库直接与 Yaf 框架硬绑定一起完成调用。后续为了多项目使用上的便捷，于是使用 PSR-4 规范实现之后提交 [https://packagist.org](https://packagist.org/) 通过 Composer 加载。

### 使用条件

[](#使用条件)

---

1. PHP &gt;= 7.2
2. Composer
3. openssl 扩展
4. fileinfo 扩展

> 本类库不依赖任何 PHP 框架。

### 安装

[](#安装)

---

```
$ composer require "finger/yaflib:^2"

```

### 使用

[](#使用)

---

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

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

Recently: every ~5 days

Total

12

Last Release

2196d ago

PHP version history (2 changes)2.0.2PHP &gt;=7.0.0

2.0.7PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/61ca804e0f8a15d0ed3713fda13190200999706de86315c815ed4d17de34a3c7?d=identicon)[fingerQin](/maintainers/fingerQin)

---

Top Contributors

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

---

Tags

phpPHP7yaf

### Embed Badge

![Health badge](/badges/finger-yaflib/health.svg)

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

PHPackages © 2026

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