PHPackages                             lamansky/map - 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. lamansky/map

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

lamansky/map
============

An iterable key-value collection class.

1.0.0(5y ago)09MITPHPPHP &gt;=7.1.0

Since Aug 18Pushed 5y ago2 watchersCompare

[ Source](https://github.com/lamansky/map)[ Packagist](https://packagist.org/packages/lamansky/map)[ Docs](https://github.com/lamansky/map)[ RSS](/packages/lamansky-map/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Map
===

[](#map)

An iterable key-value collection class for PHP.

Installation
------------

[](#installation)

With [Composer](http://getcomposer.org) installed on your computer and initialized for your project, run this command in your project’s root directory:

```
composer require lamansky/map
```

Requires PHP 7.1 or above.

The library consists of a single class: `Lamansky\Map\Map`.

Basic Usage
-----------

[](#basic-usage)

```
