PHPackages                             gravitywiz/gwiz-batcher - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. gravitywiz/gwiz-batcher

Abandoned → [gravitywiz/batcher](/?search=gravitywiz%2Fbatcher)Library[Utility &amp; Helpers](/categories/utility)

gravitywiz/gwiz-batcher
=======================

A class for bulk processing items in batches. Useful for migration routines, updating entries, generating content, and more.

1.0.2(2mo ago)36GPL-2.0-or-laterPHP

Since Oct 7Pushed 2mo ago7 watchersCompare

[ Source](https://github.com/gravitywiz/batcher)[ Packagist](https://packagist.org/packages/gravitywiz/gwiz-batcher)[ RSS](/packages/gravitywiz-gwiz-batcher/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Gravity Wiz Batcher [![Packagist Version](https://camo.githubusercontent.com/cdbfab407ac399827b294ff39e5715c63cf3e79263a63f0a45e2ce1ac020c735/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6772617669747977697a2f62617463686572)](https://packagist.org/packages/gravitywiz/batcher)
=============================================================================================================================================================================================================================================================================================================

[](#gravity-wiz-batcher-)

A class for bulk processing items in batches. Useful for migration routines, updating entries, generating content, and more.

Usage
-----

[](#usage)

### Basic usage in a plugin

[](#basic-usage-in-a-plugin)

Install the Gravity Wiz Batcher and Jetpack Autoloader. Allow Jetpack Autoloader to run as a plugin. This will help prevent conflicts with other plugins using this same class.

```
composer require gravitywiz/batcher automattic/jetpack-autoloader
```

Then, create a new plugin file and include the following code:

```
