itsimiro/laravel-chunk-cursor
Iterate large Eloquent result sets with cursor-based chunking instead of offset pagination. Process millions of rows in constant memory with stable ordering, avoiding skipped or duplicated records as data changes. Simple drop-in methods for Laravel query builders.
Laravel Chunk Cursor provides memory-efficient, cursor-based chunking for large Eloquent and query builder result sets in Laravel applications. Instead of relying on offset pagination—which slows down and can skip or duplicate rows as data changes—it walks through records using keyset (cursor) pagination, yielding stable, ordered chunks while keeping memory usage flat regardless of table size.
How can I help you explore Laravel packages today?