Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

zobzn/batcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zobzn/batcher

Build Status Software License

Perform batch operations

Installation

composer require zobzn/batcher

Basic Usage

require_once __DIR__ . '/vendor/autoload.php';

$batcher = new \Zobzn\Batcher(30, function (array $items) {
    var_export($items);
});

for ($i = 0; $i < 100; $i++) {
    $batcher->add($i);
}

$batcher->finish();

About

Performs batch operations

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages