Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rvanvelzen/php-collection
- Owner: rvanvelzen
- License: mit
- Created: 2018-09-24T18:18:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T18:59:13.000Z (about 6 years ago)
- Last Synced: 2024-04-25T14:22:34.623Z (8 months ago)
- Topics: data-structures, php, php-library
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'));
```