Download the PHP package jmf/collection without Composer
On this page you can find all versions of the php package jmf/collection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jmf/collection
More information about jmf/collection
Files in jmf/collection
Download jmf/collection
More information about jmf/collection
Files in jmf/collection
Vendor jmf
Package collection
Short Description Eases common operations with collections (arrays, iterables, etc).
License mit
Package collection
Short Description Eases common operations with collections (arrays, iterables, etc).
License mit
Please rate this library. Is it a good library?
Informations about the package collection
Collection
Simple utilities to interact with collections (arrays, iterables, etc).
Installation
With composer:
Usage
Retrieving a single item from a collection
When you need to retrieve the only value from a collection which MUST contain exactly one item:
If the collection does not contain exactly one item, an exception will be thrown.
When you need to retrieve the only value from a collection which CAN contain exactly one item:
If the collection does not contain exactly one item, null is returned.
Counting items in a collection
Retrieving items from a nested array structure
Testing item existence from a nested array structure
All versions of collection with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
The package jmf/collection contains the following files
Loading the files please wait ...