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

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

createlinux/helper
==================

v1.0.0(2y ago)03PHP

Since Aug 24Pushed 2y ago1 watchersCompare

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

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

常用的函数和方法
========

[](#常用的函数和方法)

基础运算
----

[](#基础运算)

```
/**
* $scale int 精度
 * 第二个参数为可变参数，数据类型为:array|int|float
 * 数组类型中只能包含int或者float
 */
Createlinux\Helper\Math\Basic::add(int $scale,[2,3,4,5],4,4.8,95);
Createlinux\Helper\Math\Basic::sub(int $scale,[2,3,4,5],4,4.8,95);
Createlinux\Helper\Math\Basic::div(int $scale,[2,3,4,5],4,4.8,95);
Createlinux\Helper\Math\Basic::mul(int $scale,[2,3,4,5],4,4.8,95);
```

自然语言处理
------

[](#自然语言处理)

```
//是否包含中文
Regular::hasChinese(string $string);
//是否包含日文
Regular::hasJapanese(string $string);
```

输出
--

[](#输出)

```
//print_r函数增加了换行符\n
println(string $anything)
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

998d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0171b38a9c3ad3f92fb8d4321374edb2bb9f1619dfcaa81784d53aad78d0e133?d=identicon)[GlaryJoker](/maintainers/GlaryJoker)

---

Top Contributors

[![createlinux](https://avatars.githubusercontent.com/u/24726354?v=4)](https://github.com/createlinux "createlinux (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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