• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-3,012964

LICENSEH A D03-Dec-20211.1 KiB2016

README.mdH A D03-Dec-20213.8 KiB8356

SECURITY.mdH A D03-Dec-20215.3 KiB11491

composer.jsonH A D03-Dec-20213.7 KiB103102

README.md

1<h1 align="center">ramsey/collection</h1>
2
3<p align="center">
4    <strong>A PHP library for representing and manipulating collections.</strong>
5</p>
6
7<p align="center">
8    <a href="https://github.com/ramsey/collection"><img src="http://img.shields.io/badge/source-ramsey/collection-blue.svg?style=flat-square" alt="Source Code"></a>
9    <a href="https://packagist.org/packages/ramsey/collection"><img src="https://img.shields.io/packagist/v/ramsey/collection.svg?style=flat-square&label=release" alt="Download Package"></a>
10    <a href="https://php.net"><img src="https://img.shields.io/packagist/php-v/ramsey/collection.svg?style=flat-square&colorB=%238892BF" alt="PHP Programming Language"></a>
11    <a href="https://github.com/ramsey/collection/blob/master/LICENSE"><img src="https://img.shields.io/packagist/l/ramsey/collection.svg?style=flat-square&colorB=darkcyan" alt="Read License"></a>
12    <a href="https://github.com/ramsey/collection/actions?query=workflow%3ACI"><img src="https://img.shields.io/github/workflow/status/ramsey/collection/CI?label=CI&logo=github&style=flat-square" alt="Build Status"></a>
13    <a href="https://codecov.io/gh/ramsey/collection"><img src="https://img.shields.io/codecov/c/gh/ramsey/collection?label=codecov&logo=codecov&style=flat-square" alt="Codecov Code Coverage"></a>
14    <a href="https://shepherd.dev/github/ramsey/collection"><img src="https://img.shields.io/endpoint?style=flat-square&url=https%3A%2F%2Fshepherd.dev%2Fgithub%2Framsey%2Fcollection%2Fcoverage" alt="Psalm Type Coverage"></a>
15</p>
16
17## About
18
19ramsey/collection is a PHP library for representing and manipulating collections.
20
21Much inspiration for this library came from the [Java Collections Framework][java].
22
23This project adheres to a [code of conduct](CODE_OF_CONDUCT.md).
24By participating in this project and its community, you are expected to
25uphold this code.
26
27## Installation
28
29Install this package as a dependency using [Composer](https://getcomposer.org).
30
31``` bash
32composer require ramsey/collection
33```
34
35## Usage
36
37Examples of how to use this framework can be found in the
38[Wiki pages](https://github.com/ramsey/collection/wiki/Examples).
39
40## Contributing
41
42Contributions are welcome! Before contributing to this project, familiarize
43yourself with [CONTRIBUTING.md](CONTRIBUTING.md).
44
45To develop this project, you will need [PHP](https://www.php.net) 7.3 or greater
46and [Composer](https://getcomposer.org).
47
48After cloning this repository locally, execute the following commands:
49
50``` bash
51cd /path/to/repository
52composer install
53```
54
55Now, you are ready to develop!
56
57## Coordinated Disclosure
58
59Keeping user information safe and secure is a top priority, and we welcome the
60contribution of external security researchers. If you believe you've found a
61security issue in software that is maintained in this repository, please read
62[SECURITY.md][] for instructions on submitting a vulnerability report.
63
64## ramsey/collection for Enterprise
65
66Available as part of the Tidelift Subscription.
67
68The maintainers of ramsey/collection and thousands of other packages are working
69with Tidelift to deliver commercial support and maintenance for the open source
70packages you use to build your applications. Save time, reduce risk, and improve
71code health, while paying the maintainers of the exact packages you use.
72[Learn more.](https://tidelift.com/subscription/pkg/packagist-ramsey-collection?utm_source=undefined&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
73
74## Copyright and License
75
76The ramsey/collection library is copyright © [Ben Ramsey](https://benramsey.com)
77and licensed for use under the terms of the
78MIT License (MIT). Please see [LICENSE](LICENSE) for more information.
79
80
81[java]: http://docs.oracle.com/javase/8/docs/technotes/guides/collections/index.html
82[security.md]: https://github.com/ramsey/collection/blob/master/SECURITY.md
83