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)0389Apache-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 today

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

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

1614d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15792472?v=4)[御宅男(YznCMS官方)](/maintainers/ken678)[@ken678](https://github.com/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)
```

###  Alternatives

[heroyt/tournament-generator

A set of classes used to create multiple kinds of tournament brackets in PHP.

6616.5k](/packages/heroyt-tournament-generator)[fruppel/yii2-googlecharts

Google Charts widget for Yii2.

1075.6k](/packages/fruppel-yii2-googlecharts)[plain/kirby-column-blocks

Use columns in block fields based on the layout field.

431.2k](/packages/plain-kirby-column-blocks)[dsawardekar/wp-requirements

Library for handling minimum system requirements in WordPress Plugins

132.1k1](/packages/dsawardekar-wp-requirements)

PHPackages © 2026

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