Skip to content

About

To reduce boilerplate associated with collections

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

6 watching

Forks

Latest commit

 

History

76 Commits

Folders and files

Repository files navigation

Collections

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

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:

Changelog

See CHANGELOG.md for the list of notable changes in each release.

Contributing

If you are interested in contributing read our contributing guidelines.


Continuous Integration Quality Gate Status

About

To reduce boilerplate associated with collections

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages