PHPackages                             aweitian/utilis - 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. aweitian/utilis

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

aweitian/utilis
===============

常用函数操作

2.0.5(6y ago)0951MITPHPPHP &gt;=5.3.0CI failing

Since Aug 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/aweitian/utilis)[ Packagist](https://packagist.org/packages/aweitian/utilis)[ Docs](https://github.com/aweitian/utilis)[ RSS](/packages/aweitian-utilis/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (1)

常用函数操作
======

[](#常用函数操作)

安装组件
----

[](#安装组件)

使用 composer 命令进行安装或下载源代码使用。

> composer require aweitian/utilis

常用数组操作
------

[](#常用数组操作)

```
$data = ['a' => 'aaa','b' => 'bbb','cc' => 'ab']

```

```
Arr::get($data,'a','cc') // ['a'=>'aaa','cc'=>'ab']
Arr::g($data,['a','cc']) // ['a'=>'aaa','cc'=>'ab']

```

```
Arr::except($data,'a','cc') //['b'=>'bbb']
Arr::e($data,['a','cc']) //['b'=>'bbb']

```

```
Arr::filter($data,'aaa','ab') //['bbb']
Arr::f($data,['aaa','ab']) //['bbb']

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~71 days

Recently: every ~45 days

Total

8

Last Release

2335d ago

Major Versions

v1.01 → 2.0.02018-09-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f29043b8f5aebb2d7a34302c1bc1626bd711398bb0c5387cd8630b45057a4c9?d=identicon)[awei.tian](/maintainers/awei.tian)

---

Top Contributors

[![aweitian](https://avatars.githubusercontent.com/u/6269615?v=4)](https://github.com/aweitian "aweitian (5 commits)")[![badtomcat](https://avatars.githubusercontent.com/u/33171263?v=4)](https://github.com/badtomcat "badtomcat (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aweitian-utilis/health.svg)

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

###  Alternatives

[symfony/config

Helps you find, load, combine, autofill and validate configuration values of any kind

4.3k455.2M6.6k](/packages/symfony-config)[symfony/polyfill-php81

Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions

886425.7M173](/packages/symfony-polyfill-php81)[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k30.5M336](/packages/matthiasmullie-minify)

PHPackages © 2026

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