PHPackages                             topthink/think-yaconf - 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. topthink/think-yaconf

ActiveLibrary

topthink/think-yaconf
=====================

Yaconf support for thinkphp

v1.0.1(1y ago)58.2k1[1 issues](https://github.com/top-think/think-yaconf/issues)Apache-2.0PHP

Since May 21Pushed 1y ago3 watchersCompare

[ Source](https://github.com/top-think/think-yaconf)[ Packagist](https://packagist.org/packages/topthink/think-yaconf)[ RSS](/packages/topthink-think-yaconf/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Yaconf support for ThinkPHP 6.0
===============================

[](#yaconf-support-for-thinkphp-60)

安装

```
composer require topthink/think-yaconf

```

然后在app目录下面的provider.php中配置

```
'think\Config'	=>	'think\Yaconf',

```

你可以指定Yaconf的某个文件作为项目的统一配置文件

```
think\facade\Config::setYaconf('file_name');

```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

647d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7858077?v=4)[topthink](/maintainers/topthink)[@topthink](https://github.com/topthink)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/topthink-think-yaconf/health.svg)

```
[![Health](https://phpackages.com/badges/topthink-think-yaconf/health.svg)](https://phpackages.com/packages/topthink-think-yaconf)
```

###  Alternatives

[topthink/think

the new thinkphp framework

8.0k1.2M13](/packages/topthink-think)[topthink/think-queue

The ThinkPHP6 Queue Package

640675.0k75](/packages/topthink-think-queue)[topthink/think-swoole

Swoole extend for thinkphp

477174.4k19](/packages/topthink-think-swoole)[topthink/think-captcha

captcha package for thinkphp

132934.4k68](/packages/topthink-think-captcha)[topthink/think-worker

workerman extend for thinkphp

202227.2k9](/packages/topthink-think-worker)[topthink/think-migration

96460.8k121](/packages/topthink-think-migration)

PHPackages © 2026

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