https://github.com/xutl/yii2-collection
移植Laravel的Collection类
https://github.com/xutl/yii2-collection
Last synced: 2 months ago
JSON representation
移植Laravel的Collection类
- Host: GitHub
- URL: https://github.com/xutl/yii2-collection
- Owner: xutl
- Created: 2016-11-04T11:19:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-24T04:18:25.000Z (about 8 years ago)
- Last Synced: 2025-01-20T12:46:36.689Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).
[](https://packagist.org/packages/xutl/yii2-collection)
[](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/)