ramsey/collection

A PHP library for representing and manipulating collections.

Fund package maintenance!
ramsey
Tidelift

Installs: 45 411 743

Dependents: 19

Suggesters: 1

Security: 0

Stars: 606

Watchers: 10

Forks: 41

Open Issues: 5

1.2.1 2021-08-06 03:41 UTC

This package is auto-updated.

Last update: 2021-09-06 03:50:48 UTC


README

A PHP library for representing and manipulating collections.

Source Code Download Package PHP Programming Language Read License Build Status Codecov Code Coverage Psalm Type Coverage

About

ramsey/collection is a PHP library for representing and manipulating collections.

Much inspiration for this library came from the Java Collections Framework.

This project adheres to a code of conduct. By participating in this project and its community, you are expected to uphold this code.

Installation

Install this package as a dependency using Composer.

composer require ramsey/collection

Usage

Examples of how to use this framework can be found in the Wiki pages.

Contributing

Contributions are welcome! Before contributing to this project, familiarize yourself with CONTRIBUTING.md.

To develop this project, you will need PHP 7.3 or greater and Composer.

After cloning this repository locally, execute the following commands:

cd /path/to/repository
composer install

Now, you are ready to develop!

Coordinated Disclosure

Keeping user information safe and secure is a top priority, and we welcome the contribution of external security researchers. If you believe you've found a security issue in software that is maintained in this repository, please read SECURITY.md for instructions on submitting a vulnerability report.

ramsey/collection for Enterprise

Available as part of the Tidelift Subscription.

The maintainers of ramsey/collection and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.

Copyright and License

The ramsey/collection library is copyright © Ben Ramsey and licensed for use under the terms of the MIT License (MIT). Please see LICENSE for more information.