Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rvanvelzen/php-collection

Simple collection types for PHP
https://github.com/rvanvelzen/php-collection

data-structures php php-library

Last synced: 6 days ago
JSON representation

Simple collection types for PHP

Awesome Lists containing this project

README

        

# Collection

Some simple somewhat-efficient collection implementations for PHP.

## Usage

```php
set('some key', 'an amazing value!');
$map->set(1, 'a key bound to 1');

var_dump($map->get('some key'));
```