PHPackages                             yzncms/think-helper - 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. yzncms/think-helper

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

yzncms/think-helper
===================

The ThinkPHP5 Helper Package

v3.1.1(4y ago)0367Apache-2.0PHPPHP &gt;=7.0.0

Since Mar 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ken678/think-helper)[ Packagist](https://packagist.org/packages/yzncms/think-helper)[ RSS](/packages/yzncms-think-helper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

thinkphp5 常用的一些扩展类库
===================

[](#thinkphp5-常用的一些扩展类库)

> 更新完善中

> 以下类库都在`\\think\\helper`命名空间下

Str
---

[](#str)

> 字符串操作

```
// 检查字符串中是否包含某些字符串
Str::contains($haystack, $needles)

// 检查字符串是否以某些字符串结尾
Str::endsWith($haystack, $needles)

// 获取指定长度的随机字母数字组合的字符串
Str::random($length = 16)

// 字符串转小写
Str::lower($value)

// 字符串转大写
Str::upper($value)

// 获取字符串的长度
Str::length($value)

// 截取字符串
Str::substr($string, $start, $length = null)

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

1517d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e21090dc614e4b0fd457c20ddb2e16ed27202e735bd3b32ed17acf27893182c?d=identicon)[ken678](/maintainers/ken678)

---

Top Contributors

[![ken678](https://avatars.githubusercontent.com/u/15792472?v=4)](https://github.com/ken678 "ken678 (11 commits)")

### Embed Badge

![Health badge](/badges/yzncms-think-helper/health.svg)

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

PHPackages © 2026

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