定制 kununu/collections 二次开发

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

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

kununu/collections

最新稳定版本:v6.5.0

Composer 安装命令:

composer require kununu/collections

包简介

To reduce boilerplate associated with collections

关键字:

README 文档

README

The goal of this library is to provide some boilerplate code to assist you in creating more friendly collections when using ArrayIterator.

Install

You can use this library by issuing the following command:

composer require kununu/collections

Running Tests

Run the tests by doing:

composer install vendor/bin/phpunit

or

composer install composer test

To run test and generate coverage information:

composer install composer test-coverage

Usage

The library defines interfaces to deal with collections and also boilerplate code with default implementations.

You can either use the provided traits to your custom class extending ArrayIterator or simply expand the abstract collection classes using them.

It has a default implementation for a "basic" collection and also one to filter and group data on your collections (a "filterable" collection).

It defines interfaces to convert collection items to array, string and int and to compare items.

More details:

Contribute

If you are interested in contributing read our contributing guidelines.

Continuous Integration Quality Gate Status

统计信息

  • 总下载量: 27.91k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固