https://github.com/ramsey/collection
:card_index_dividers: A PHP library for representing and manipulating collections.
https://github.com/ramsey/collection
array collection hash map php php8 queue set
Last synced: 25 days ago
JSON representation
:card_index_dividers: A PHP library for representing and manipulating collections.
- Host: GitHub
- URL: https://github.com/ramsey/collection
- Owner: ramsey
- License: mit
- Created: 2015-10-27T20:07:54.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-03-22T05:39:19.000Z (2 months ago)
- Last Synced: 2025-05-11T05:49:12.863Z (25 days ago)
- Topics: array, collection, hash, map, php, php8, queue, set
- Language: PHP
- Homepage:
- Size: 361 KB
- Stars: 1,162
- Watchers: 10
- Forks: 55
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
ramsey/collection
A PHP library for representing and manipulating collections.## About
ramsey/collection is a PHP library for representing and manipulating collections.
Much inspiration for this library came from the [Java Collections Framework][java].
This project adheres to a [code of conduct](CODE_OF_CONDUCT.md).
By participating in this project and its community, you are expected to
uphold this code.## Installation
Install this package as a dependency using [Composer](https://getcomposer.org).
``` bash
composer require ramsey/collection
```## Usage
Examples of how to use this library may be found in the
[Wiki pages](https://github.com/ramsey/collection/wiki/Examples).## Contributing
Contributions are welcome! To contribute, please familiarize yourself with
[CONTRIBUTING.md](CONTRIBUTING.md).## 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.## Copyright and License
The ramsey/collection library is copyright © [Ben Ramsey](https://benramsey.com)
and licensed for use under the terms of the
MIT License (MIT). Please see [LICENSE](LICENSE) for more information.[java]: http://docs.oracle.com/javase/8/docs/technotes/guides/collections/index.html
[security.md]: https://github.com/ramsey/collection/blob/main/SECURITY.md