PHPackages                             programster/collections - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. programster/collections

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

programster/collections
=======================

A simple library to simplify the creation of strict type arrays/collections.

1.1.0(1y ago)0858↓88.9%5MITPHPPHP &gt;=8.2.0

Since Dec 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/programster/package-collections)[ Packagist](https://packagist.org/packages/programster/collections)[ Docs](https://github.com/programster/package-core-libs)[ RSS](/packages/programster-collections/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (4)Used By (5)

PHP Collections Package
=======================

[](#php-collections-package)

A package to simplify the creation of strict type arrays in PHP.

Example Usage
-------------

[](#example-usage)

The example below creates a collection of users and sorts them by their name.

```
