๐Ÿ“ฆ wnowicki / collections

PHP Collections

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/wnowicki/collections.git
HTTPS git clone https://github.com/wnowicki/collections.git
SSH git clone git@github.com:wnowicki/collections.git
CLI gh repo clone wnowicki/collections
Wojtek Wojtek Merge branch 'develop' f23396c 10 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ demo
๐Ÿ“ src
๐Ÿ“ tests
๐Ÿ“„ .editorconfig
๐Ÿ“„ .gitattributes
๐Ÿ“„ .gitignore
๐Ÿ“„ .scrutinizer.yml
๐Ÿ“„ .travis.yml
๐Ÿ“„ CHANGELONG.md
๐Ÿ“„ composer.json
๐Ÿ“„ CONTRIBUTING.md
๐Ÿ“„ LICENSE.md
๐Ÿ“„ phpunit.xml.dist
๐Ÿ“„ README.md
๐Ÿ“„ README.md

PHP Collections

by WNowicki

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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

`` bash $ 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.