PHPackages                             yuyue8/tp\_utils - 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. yuyue8/tp\_utils

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

yuyue8/tp\_utils
================

thinkphp utils

v1.0.14(2y ago)0471Apache-2.0PHPPHP &gt;=8.0.2

Since May 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yuyue8/tp_utils)[ Packagist](https://packagist.org/packages/yuyue8/tp_utils)[ RSS](/packages/yuyue8-tp-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (16)Used By (1)

TpUtils
=======

[](#tputils)

安装
--

[](#安装)

```
composer require yuyue8/tp_utils

```

使用方法
----

[](#使用方法)

src/helpers文件中，设置了工具类的快捷调用方法，可自行查看

若工具类中缺少方法，可以自主创建工具类，继承本工具类，并在`tp_config`配置文件`util_register`中设置工具类

使用快捷调用方法时，自定义的工具类方法没有提示： 可以在 `common` 文件内重置快捷方法，只需要 `return` 自定义的工具类即可

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

Recently: every ~36 days

Total

15

Last Release

775d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/53282d9e2a3bfccaf3b02ed4e2f1ede03c83141441299709b10a47d6392cc25a?d=identicon)[yuyue8](/maintainers/yuyue8)

---

Top Contributors

[![yuyue8](https://avatars.githubusercontent.com/u/48197835?v=4)](https://github.com/yuyue8 "yuyue8 (16 commits)")

### Embed Badge

![Health badge](/badges/yuyue8-tp-utils/health.svg)

```
[![Health](https://phpackages.com/badges/yuyue8-tp-utils/health.svg)](https://phpackages.com/packages/yuyue8-tp-utils)
```

###  Alternatives

[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)[yunwuxin/think-cron

计划任务

17416.2k](/packages/yunwuxin-think-cron)[zzstudio/think-addons

The ThinkPHP6 Addons Package

1518.6k](/packages/zzstudio-think-addons)[topthink/think-annotation

Annotation For ThinkPHP

4831.5k8](/packages/topthink-think-annotation)[liliuwei/thinkphp-jump

适用于thinkphp6.0的跳转扩展

2874.4k1](/packages/liliuwei-thinkphp-jump)

PHPackages © 2026

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