PHP Classes


Recommend this page to a friend!
  Classes of Chun-Sheng, Li   Simple PHP Collection   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Simple PHP Collection
Manage collections of values using array iterators
Author: By
Last change:
Date: 10 months ago
Size: 1,428 bytes


Class file image Download

Simple Collection for PHP 7.1+

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


composer require sunrise/collection

How to use

use Sunrise\Collection\Collection;

$payload = new Collection($_POST);

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

Api documentation