sunrise/collection

This package is abandoned and no longer maintained. No replacement package was suggested.

Simple Array Collection for PHP 7.1+

v1.0.21 2019-04-28 12:42 UTC

README

Gitter Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads License

Installation

composer require sunrise/collection

How to use?

use Sunrise\Collection\Collection;

$payload = new Collection($_POST);

$payload->get('key', 'default');

Api documentation

https://phpdoc.fenric.ru/