定制 pragmarx/ia-collection 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pragmarx/ia-collection

最新稳定版本:v7.3.2

Composer 安装命令:

composer require pragmarx/ia-collection

包简介

Laravel Illuminate Agnostic Collection

README 文档

README

Latest Stable Version License Code Quality Build Downloads

Coverage StyleCI PHP

This package is an unmodified extraction of the Laravel's Illuminate\Support\Collection class, including all helpers, repackaged to be agnostic and available to any PHP project.

It has its own namespace (IlluminateAgnostic\Collection), so you can use it even on Laravel apps without risking a namespace conflict.

For docs, please check the Laravel documentation: https://laravel.com/docs/5.5/collections.

Install

Via Composer

$ composer require pragmarx/ia-collection

Usage

use IlluminateAgnostic\Collection\Support\Collection;

return (new Collection([1, 2, 3, 4, 5]))->sum()

// or

return collect([1, 2, 3, 4, 5])->sum()

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email acr@antoniocarlosribeiro.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 3.34M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 47
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 47
  • Watchers: 1
  • Forks: 27
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-31