setono/doctrine-orm-batcher
Opinionated batch processing for Doctrine ORM using seek pagination (no slow LIMIT/OFFSET) to handle large datasets efficiently. Create ID ranges or collections of IDs/entities for synchronous or message-driven async processing.
setono/doctrine-orm-batcher) continues to excel in batch processing for Doctrine ORM entities, particularly in Laravel applications leveraging Eloquent. The core value proposition—reducing database round-trips for bulk operations—is unaffected by this release.chunk(), raw SQL). This release does not introduce new features that alter the package’s positioning.| Component | Compatibility Notes |
|---|---|
| Laravel Eloquent | ✅ Full support (unchanged). |
| Symfony Doctrine Bundle | ✅ Now supports Symfony 7 (if hybrid stack). |
| Laravel Query Builder | ❌ Not applicable (unchanged). |
| Custom Doctrine Repos | ✅ Unchanged. |
| Laravel Queues | ✅ Unchanged. |
orm.xml/annotations are correct.DependencyInjection does not conflict with Laravel’s container.doctrine.yaml) are compatible.composer require setono/doctrine-orm-batcher:^0.6.8).
doctrine/orm updates.try/catch for batch errors.| Failure Scenario | Mitigation Strategy |
|---|---|
| Partial batch failure | Unchanged: Retry logic (exponential backoff). |
| Database deadlocks | Unchanged: Reduce batch size or adjust isolation. |
| Symfony 7 Integration Issues | New: Test in CI; roll back if conflicts arise. |
| Memory exhaustion | Unchanged: Limit batch size or memory_limit. |
NO_UPDATE_NEEDED would be incorrect due to the Symfony 7 compatibility addition, which may impact hybrid Laravel/Symfony stacks. The updated assessment above reflects this change while preserving all other sections.
How can I help you explore Laravel packages today?