PHPackages                             xs/collection - 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. xs/collection

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

xs/collection
=============

description

0.1(5y ago)04MITPHPPHP &gt;=7.1.3

Since Oct 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/xiashaung/Collection)[ Packagist](https://packagist.org/packages/xs/collection)[ RSS](/packages/xs-collection/feed)WikiDiscussions master Synced 1w ago

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

安装
--

[](#安装)

```
composer require xs/collection

```

方法支持
----

[](#方法支持)

```
$collection = new Xs\Collection($array);

或者

$collection = Xs\Collection::make($array);

```

目录
--

[](#目录)

- [arrayAccess](arrayAccess)

&lt;&gt;

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

2034d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/94dfd5c1c238dc327dfd24ac1d20a7bb0317cc33a392b5921eadcb0b7ca712a1?d=identicon)[xiashaung](/maintainers/xiashaung)

---

Top Contributors

[![xiashaung](https://avatars.githubusercontent.com/u/19299786?v=4)](https://github.com/xiashaung "xiashaung (33 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xs-collection/health.svg)

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

###  Alternatives

[pagemachine/authorized-keys

Read, edit and write the SSH authorized\_keys file

1163.1k](/packages/pagemachine-authorized-keys)

PHPackages © 2026

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