Download the PHP package zerifas/collections without Composer
On this page you can find all versions of the php package zerifas/collections. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zerifas/collections
More information about zerifas/collections
Files in zerifas/collections
Download zerifas/collections
More information about zerifas/collections
Files in zerifas/collections
Vendor zerifas
Package collections
Short Description Tools for collections of data in PHP
License Apache-2.0
Package collections
Short Description Tools for collections of data in PHP
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package collections
Collections
Tools for collections of data in PHP.
Installation
Usage
There are two ways to use this library:
- The
Arr
helper class that consists of static methods. The first parameter is always to array to operate on. - The
ArrayWrapper
class that wraps a plain array in anArrayObject
Arr
helper
Get a single item
Filter and Map
Example:
Outputs:
ArrayWrapper class
Get a single item
Filter and Map
Example:
Outputs:
You can also wrap a plain array using the Arr
helper:
All versions of collections with dependencies
PHP Build Version
Package Version
Requires
php Version
>= 5.5
The package zerifas/collections contains the following files
Loading the files please wait ....