sammyjo20/laravel-chunkable-jobs
Laravel Chunkable Jobs lets you split large queued jobs into smaller chunks that run within memory and time limits. Set a chunk size, process records in batches, and let each chunk dispatch separately to keep queue workers fast, responsive, and reliable.
laravel-chunkable-jobs turns a single oversized queued job (imports, exports, backfills, re-indexing, mass notifications, billing runs) into a sequence of smaller chunked jobs — a capability teams otherwise hand-roll around Laravel's queue API. Adopting it is a low-cost alternative to building and maintaining that orchestration in-house.Adopt when:
maxAttempts without completing.Look elsewhere when:
For executives (one paragraph): We have recurring bulk-processing workloads — imports, exports, re-indexing, mass notifications — that currently fail or require manual intervention when they exceed worker limits. laravel-chunkable-jobs, a small open-source Laravel package, lets us split those jobs into reliable, individually retryable chunks for a fraction of the cost of building it ourselves. Its latest release adds Laravel 11 and PHP 8.3 support, so it is compatible with our current platform and does not constrain our upgrade path. Adoption cost is low and the change is contained to queue job classes.
For engineering (the substance): It's a thin abstraction over Laravel's queue for chunked job execution — implement the package's chunking contract on an existing job, define chunk size, and the package dispatches and sequences the chunks. Benefits: bounded memory per chunk, no timeout tuning, granular retries and failure isolation, and clearer observability per chunk. Constraints to plan around: it is v1.x, single-maintainer, so pin the version and isolate usage behind our own job base class to keep an exit path; prefer native job batching for dependent/aggregate workflows; and confirm our Laravel version is within the supported range (11 confirmed as of v1.1.0).
How can I help you explore Laravel packages today?