wnowicki / collections
PHP Collections
0.4.0
2015-08-02 16:13 UTC
Requires
- php: >=5.5.0
- wnowicki/generic: ~0.1
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2024-12-06 02:22:31 UTC
README
by WNowicki
Install
Requirements
PHP >=5.5.0
Composer Installation
To install collection library you will need to use Composer in your project. If you aren't using Composer yet, it's really simple!
curl -sS https://getcomposer.org/installer | php
Collections Installation
php composer.phar require wnowicki/collections
Example
$collection = ObjectCollection::make('\Fruit'); $collection->add(new Apple()) ->add(new Orange()) ->add(new Apple());
Change Log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email dev@wojciechnowicki.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.