https://github.com/navarr/iterable_to_array
A PHP class that handles the boilerplate for converting an iterable into an array
https://github.com/navarr/iterable_to_array
array hacktoberfest iterable php-library
Last synced: 7 months ago
JSON representation
A PHP class that handles the boilerplate for converting an iterable into an array
- Host: GitHub
- URL: https://github.com/navarr/iterable_to_array
- Owner: navarr
- Created: 2021-09-29T20:29:34.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-11T02:29:15.000Z (over 4 years ago)
- Last Synced: 2025-01-29T07:32:24.276Z (over 1 year ago)
- Topics: array, hacktoberfest, iterable, php-library
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IterableToArray::convert
[](https://packagist.org/packages/navarr/iterable-to-array)
[](https://packagist.org/packages/navarr/iterable-to-array)
[](https://packagist.org/packages/navarr/iterable-to-array)
[](https://packagist.org/packages/navarr/iterable-to-array)
[](https://github.com/navarr/iterable_to_array/actions/workflows/commit.yml)
[](https://app.codecov.io/gh/navarr/iterable_to_array/)
[](https://dashboard.stryker-mutator.io/reports/github.com/navarr/iterable_to_array/main)
A simple utility class that handles the boilerplate of converting an iterable into an array.
The goal of this utility is to be an in-place replacement for iterator_to_array whenever one must handle an iterable.
## Installation
composer require navarr/iterable-to-array
## Usage
```php