An open API service indexing awesome lists of open source software.

https://github.com/xutl/yii2-collection

移植Laravel的Collection类
https://github.com/xutl/yii2-collection

Last synced: 2 months ago
JSON representation

移植Laravel的Collection类

Awesome Lists containing this project

README

        

# 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://poser.pugx.org/xutl/yii2-collection/v/stable.png)](https://packagist.org/packages/xutl/yii2-collection)
[![Total Downloads](https://poser.pugx.org/xutl/yii2-collection/downloads.png)](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

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

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

### Thanks to

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