Download the PHP package escapio/php-iterables without Composer
On this page you can find all versions of the php package escapio/php-iterables. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download escapio/php-iterables
More information about escapio/php-iterables
Files in escapio/php-iterables
Package php-iterables
Short Description Utility functions for working with iterables
License MIT
Informations about the package php-iterables
Escapio PHP-Iterables
Description
PHP-Iterables is a simple utility library for PHP to provide an easy and consistent way of using iterables, no matter which type of iterable you work on: arrays, iterators or generators.
Furthermore, it allows you to chain several iterator functions in a fluent, easier-to-read way.
Features
Check out more detailed examples in the examples file.
This library includes common functions like
- map
- filter
- reduce
The iterable-Builder allow you to combine these functions in a fluent syntax:
Installation
Install with composer:
Contributing
Feel free to create feature request or report bugs via GitHub.
If you like to contribute, make sure that all tests and code style rules are satisfied, otherwise the CI will fail.
Tests
Command for executing the PHPUnit tests:
Code-Style
This library uses PHP CS Fixer for code formatting. Run the formatter with:
Also see the CODE_OF_CONDUCT.
Changelog
See CHANGELOG.md
The changelog is managed by the composer package marcocesarato/php-conventional-changelog. There are some convenient scripts in the composer.json file to update the CHANGELOG and tag the commit with the current version:
- composer release:patch
- composer release:minor
- composer release:major
License
PHP-Iterables is made available under the MIT License (MIT). Please see License File for more information.