map VS collections

Compare map vs collections and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
map collections
7 4
2,917 5,829
- 0.1%
5.8 7.1
3 months ago 19 days ago
PHP PHP
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

map

Posts with mentions or reviews of map. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-24.

collections

Posts with mentions or reviews of collections. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-31.
  • Enforce architecture rules with Deptrac
    4 projects | dev.to | 31 Oct 2023
    Theoretically, our domain should only contain pure PHP code without any external dependencies. Nonetheless, there are some libraries that we want to use in our domain, such as ramsey/uuid to generate UUIDs, or brick/math to work safely with numbers. Another usual example of an allowed external library in our domain is doctrine/collections when we use Doctrine as an ORM, because the relationships between entities must be of type Doctrine\Common\Collection.
  • How to query a CSV input in PHP as if it was a database table?
    2 projects | /r/PHPhelp | 27 Mar 2023
    How you want to do the grouping is up to you. Maybe look into using Doctrine Collections: https://www.doctrine-project.org/projects/collections.html
  • PHP Map 3.3 released - Collections made easy!
    5 projects | /r/PHP | 24 Nov 2022
  • PHP Map v3.1 - Collections made easy
    4 projects | /r/PHP | 15 Jun 2022
    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

What are some alternatives?

When comparing map and collections you can also consider the following projects:

php-enum - Simple and fast implementation of enumerations with native PHP

homebrew-php - :beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.

psl - 📚 PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers

Laravel - The Laravel Framework.

array-reader - A strictly typed array reader for PHP

PHP Collections - General Purpose Collection Library for PHP

collection - The Museum of Modern Art (MoMA) collection data

YaLinqo - Yet Another LINQ to Objects for PHP [Simplified BSD]

Arrayy - 🗃 Array manipulation library for PHP, called Arrayy!

TOTEM - TOTEM is a 38 keys column-staggered split keyboard. It meant to be used with a SEEED XIAO BLE or RP2040

Functional PHP - Primitives for functional programming in PHP

collect - A Collections-only split from Laravel's Illuminate Support