Download the PHP package double-break/php-batcher without Composer
On this page you can find all versions of the php package double-break/php-batcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download double-break/php-batcher
More information about double-break/php-batcher
Files in double-break/php-batcher
Download double-break/php-batcher
More information about double-break/php-batcher
Files in double-break/php-batcher
Vendor double-break
Package php-batcher
Short Description Simple lib providing batching functionality
License MIT
Package php-batcher
Short Description Simple lib providing batching functionality
License MIT
Please rate this library. Is it a good library?
Informations about the package php-batcher
PHP Batcher
PHP Batcher is a simple library providing batching functionality for PHP projects.
Features
- Efficient batching of items.
- Ordinality tracking (e.g., first, middle, last batch).
- Custom state management whiten the batch processing.
Requirements
- PHP 8.4 or higher.
Installation
Install the library using Composer:
Usage
Basic Example
Here is an example of how to use the library:
Example with Ordinality Tracking
This example demonstrates how to track the ordinality of batches (e.g., first, middle, last):
Example with Custom State Management
This example shows how to manage custom state during batch processing:
Development
Running Tests
To run the tests, use PHPUnit:
All versions of php-batcher with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.4
The package double-break/php-batcher contains the following files
Loading the files please wait ...