juampi92/cursor-pagination
Cursor-based pagination for Laravel Eloquent, inspired by Stripe. Encode and decode opaque cursors with ease, keeping pagination stable and efficient. Perfect for large datasets, infinite scrolling, and APIs that need predictable next/previous navigation.
Architecture fit
cursorPaginate(), so this package is effectively a pre-Laravel-8 shim. Its remaining value is (a) Laravel ≤7 estates, or (b) edge cases native pagination does not cover (custom/multi-column cursors, non-standard query shapes).Integration feasibility
composer require, discovery, swap paginate() for the cursor method on selected endpoints. Days, not weeks.Technical risk
cursorPaginate() during framework upgrades.Key questions
cursorPaginate() does not provide, or is this pure legacy compatibility?Stack fit
Migration path
cursorPaginate() vs. package output on 1–2 representative endpoints (ordering, tiebreaker, response shape).Compatibility
Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?