PHP Map v3.1 - Collections made easy

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • map

    PHP arrays and collections made easy

  • Laravel

    The Laravel Framework.

    Seems like you can use the Illuminate classes separately? I might be wrong: https://github.com/laravel/framework/blob/9.x/src/Illuminate/Collections/composer.json. I doubt the extra functionality would be that useful? Could be wrong too.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • input-data

    Snap, I made a similar library https://github.com/rhinox-php/input-data

  • collections

    Collections Abstraction Library

    You can also look at Doctrine Collections as an example of a library doing something similar and making full use of generics. Look at all the annotations that mention `T` or `TKey` in https://github.com/doctrine/collections/blob/c1ec9823f9250fefb274cccf62970b5c167e6bc7/lib/Doctrine/Common/Collections/Collection.php

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts