guzzle / iterator
Provides helpful iterators and iterator decorators
Installs: 61 857
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: >=5.3.2
- guzzle/common: >=2.8.0
This package is not auto-updated.
Last update: 2022-02-01 12:21:55 UTC
README
Provides useful Iterators and Iterator decorators
- ChunkedIterator: Pulls out chunks from an inner iterator and yields the chunks as arrays
- FilterIterator: Used when PHP 5.4's CallbackFilterIterator is not available
- MapIterator: Maps values before yielding
- MethodProxyIterator: Proxies missing method calls to the innermost iterator
Installing via Composer
# Install Composer curl -sS https://getcomposer.org/installer | php # Add Guzzle as a dependency php composer.phar require guzzle/iterator:~3.0
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';