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

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

qpfsoft/helper
==============

Common Helper library

v2.1.0(6y ago)0201Apache-2.0PHPPHP &gt;=7.1.0

Since Apr 17Pushed 6y agoCompare

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

READMEChangelog (3)Dependencies (2)Versions (6)Used By (1)

helper V2
=========

[](#helper-v2)

> QPF Common Helper library

- PHP &gt;= 7.1.0
- 在V1版本的基础上, 增加参数类型与返回类型
- 增加对第三方类库的封装

Export
------

[](#export)

```
dump(); // 类型与长度输出
print(); // 易读输出, 适合数组与对象.
echo(); // 原样输出, 带换行.
echor(); // 自适应输出
arrstr(); // 返回数组的字符串, 数组描述将会显示在一行并带有适合的空白.
varStr(); // 返回变量的描述
varArray(); // 返回数组的描述, 有缩进与换行
varObject(); // 返回对象的描述, 有缩进与换行
eol(); // 根据运行环境返回合适的换行符
compact(); // 紧凑格式字符串, 去除 (换行, 空白, 结尾多余的逗号)
```

Moni
----

[](#moni)

根据规则生成随机内容, 模拟(Moni)数据.

规则:

```
legnth // 长度
min-max // 取值范围 1~100
minLength-maxLength // 最小长度-最大长度

```

注意: 数字类型的规则, 4有时候不是代表生成的长度, 而是固定值.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Total

5

Last Release

2528d ago

Major Versions

v1.x-dev → v2.0.x-dev2019-06-14

PHP version history (2 changes)v1.x-devPHP &gt;=5.6

v2.0.x-devPHP &gt;=7.1.0

### Community

Maintainers

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

---

Top Contributors

[![qpfsoft](https://avatars.githubusercontent.com/u/49507188?v=4)](https://github.com/qpfsoft "qpfsoft (21 commits)")

### Embed Badge

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

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

###  Alternatives

[utopia-php/messaging

A simple, light and advanced PHP messaging library

23187.5k4](/packages/utopia-php-messaging)[heptacom/heptaconnect-portal-base

HEPTAconnect base dataset that every other portal is based on

1024.9k13](/packages/heptacom-heptaconnect-portal-base)

PHPackages © 2026

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