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

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

bonza/helper
============

支持PHP7.2语法，常用帮助函数

v1.0.1(5y ago)0483MITPHPPHP &gt;=7.2.0

Since May 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bonzaphp/helper)[ Packagist](https://packagist.org/packages/bonza/helper)[ RSS](/packages/bonza-helper/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

帮助函数
----

[](#帮助函数)

安装
--

[](#安装)

```
composer require bonza/helper
```

### 1. 使用示例

[](#1-使用示例)

```
Helper::random(6,false);

==暂时没有测试覆盖==
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

2

Last Release

2172d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb27a2beed347a4d1aee5d564546601f011b0357d40c5180e7feabe038945c73?d=identicon)[bonza](/maintainers/bonza)

---

Tags

helpersdk

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[aws/aws-crt-php

AWS Common Runtime for PHP

416300.1M4](/packages/aws-aws-crt-php)

PHPackages © 2026

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