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

ActiveLibrary

zhaoyj/think-helper
===================

The ThinkPHP6 Helper Package

v3.1.13(1mo ago)04↑2150%Apache-2.0PHPPHP &gt;=7.1.0

Since Jun 3Pushed 1mo agoCompare

[ Source](https://github.com/zhaoyj7/think-helper)[ Packagist](https://packagist.org/packages/zhaoyj/think-helper)[ RSS](/packages/zhaoyj-think-helper/feed)WikiDiscussions 3.0 Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (27)Used By (0)

zhaoyj自用
========

[](#zhaoyj自用)

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

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

基于PHP7.1+

[![PHP Composer](https://github.com/larvatecn/think-helper/actions/workflows/php.yml/badge.svg)](https://github.com/larvatecn/think-helper/actions/workflows/php.yml)

> 以下类库都在`\\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

47

—

FairBetter than 94% of packages

Maintenance91

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~125 days

Total

26

Last Release

45d ago

Major Versions

v1.0.7 → v3.0.02019-03-14

### Community

Maintainers

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

---

Top Contributors

[![yunwuxin](https://avatars.githubusercontent.com/u/2168125?v=4)](https://github.com/yunwuxin "yunwuxin (23 commits)")[![liu21st](https://avatars.githubusercontent.com/u/1111670?v=4)](https://github.com/liu21st "liu21st (22 commits)")[![zhaoyj7](https://avatars.githubusercontent.com/u/191885780?v=4)](https://github.com/zhaoyj7 "zhaoyj7 (17 commits)")[![NHZEX](https://avatars.githubusercontent.com/u/14545600?v=4)](https://github.com/NHZEX "NHZEX (4 commits)")[![xutongle](https://avatars.githubusercontent.com/u/46956076?v=4)](https://github.com/xutongle "xutongle (3 commits)")[![cheerego](https://avatars.githubusercontent.com/u/13394349?v=4)](https://github.com/cheerego "cheerego (2 commits)")[![liuqiandev](https://avatars.githubusercontent.com/u/50485460?v=4)](https://github.com/liuqiandev "liuqiandev (1 commits)")[![52fhy](https://avatars.githubusercontent.com/u/8773263?v=4)](https://github.com/52fhy "52fhy (1 commits)")[![9007967](https://avatars.githubusercontent.com/u/33853639?v=4)](https://github.com/9007967 "9007967 (1 commits)")[![ChinaMoli](https://avatars.githubusercontent.com/u/39550254?v=4)](https://github.com/ChinaMoli "ChinaMoli (1 commits)")[![4352570](https://avatars.githubusercontent.com/u/51403503?v=4)](https://github.com/4352570 "4352570 (1 commits)")[![ymiras](https://avatars.githubusercontent.com/u/34847405?v=4)](https://github.com/ymiras "ymiras (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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