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

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

xutl/yii2-collection
====================

The collection extension for the Yii framework

1.0.0(9y ago)09011BSD-3-ClausePHP

Since Nov 4Pushed 9y agoCompare

[ Source](https://github.com/xutl/yii2-collection)[ Packagist](https://packagist.org/packages/xutl/yii2-collection)[ RSS](/packages/xutl-yii2-collection/feed)WikiDiscussions master Synced 4w ago

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

yii2-collection 移植Laravel的Collection类
=====================================

[](#yii2-collection-移植laravel的collection类)

该扩展为 Yii2 framework 添加 [Illuminate\\Support\\Collection](https://github.com/laravel/framework/blob/5.3/src/Illuminate/Support/Collection.php) 类。

For license information check the [LICENSE](https://github.com/laravel/framework/blob/5.3/LICENSE.md).

Documentation is at [README.md](https://laravel.com/docs/5.3/collections).

[![Latest Stable Version](https://camo.githubusercontent.com/1bccd8df2cce54d1f45070a0c38274214f3a6e2383ca8deadee92c72034ce255/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d636f6c6c656374696f6e2f762f737461626c652e706e67)](https://packagist.org/packages/xutl/yii2-collection)[![Total Downloads](https://camo.githubusercontent.com/e35ea0e0ec72f85657c1cdeef839f8876fcc4d733e7374e188df177eb41a2190/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f796969322d636f6c6c656374696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/xutl/yii2-collection)

安装
--

[](#安装)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require --prefer-dist xutl/yii2-collection

```

or add

```
"xutl/yii2-collection": "*"
```

to the `require` section of your `composer.json`.

### Thanks to

[](#thanks-to)

- [Yii framework](https://github.com/yiisoft/yii2)
- [laravel](https://laravel.com/)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3525d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87b658aa9d49e0c80cfc609fa2b9dc6d615672b1d895f421f751945a0e394087?d=identicon)[larvacent](/maintainers/larvacent)

---

Top Contributors

[![xutl](https://avatars.githubusercontent.com/u/20939388?v=4)](https://github.com/xutl "xutl (3 commits)")

---

Tags

collectionyii2

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[yii2mod/collection

Basic collection library

31181.7k5](/packages/yii2mod-collection)[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

1911.7k](/packages/imanilchaudhari-yii2-currency-converter)

PHPackages © 2026

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