承接 getwarp/collection 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

getwarp/collection

最新稳定版本:3.1.2

Composer 安装命令:

composer require getwarp/collection

包简介

Framework-agnostic PHP collections

README 文档

README

getwarp/collection

Framework-agnostic PHP collections

GitHubPackagistInstallationUsage

Installation

Via Composer

$ composer require getwarp/collection

Usage

use Warp\Collection\Collection;
use Warp\Collection\Map;

$collection = Collection::new([0, 1, 2, 3]);
\assert(6 === $collection->sum());

$map = Map::new([
    'key' => 'value',
    'foo' => 'bar',
]);
\assert(true === $map->has('foo'));
\assert(false === $map->has('baz'));

Change log

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

Contributing

Report issues and send pull requests in the main Warp repository. Please see contributing guide and code of conduct for details.

Credits

License

The MIT License (MIT). Please see license file for more information.

统计信息

  • 总下载量: 849
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-04-22