cursor-pagination
fast-paginate
cursor-pagination | fast-paginate | |
---|---|---|
1 | 4 | |
71 | 1,148 | |
- | 1.1% | |
0.0 | 0.0 | |
over 1 year ago | 26 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cursor-pagination
-
Laravel lighhouse cursor pagination
Hello there, I am developing site like reddit.com, I have used Laravel 8 and lighthouse 5.3, I want to set cursor pagination on every listing, I have used this package but want work for me: https://github.com/juampi92/cursor-pagination can anyone help me.
fast-paginate
-
We switched to cursor-based pagination
There are ways to mitigate the (although not eliminate) the slowing down of offset/limit pagination in later pages. The technique is called a "deferred join" and it is most effective in MySQL. The basic idea is to paginate as little data as necessary, and then do a self-join to get the rest of the data for a single page.
You can read more about it here: https://aaronfrancis.com/2022/efficient-pagination-using-def... or here https://planetscale.com/blog/fastpage-faster-offset-paginati....
There are libraries for Laravel (https://github.com/hammerstonedev/fast-paginate) and Rails (https://github.com/planetscale/fast_page) as well!
Cursor based pagination is wonderful, but sometimes you're stuck with offset/limit for whatever reason. Might as well make it fast.
-
Faster offset pagination for Rails apps
The PlanetScale team puts out incredible engineering content. Congrats on the release!
If you're using Laravel, there's a package that you can use to achieve the same effect: https://github.com/hammerstonedev/fast-paginate
- Faster offset / limit pagination for Laravel
- hammerstonedev/fast-paginate: A fast implementation of offset/limit pagination for Laravel.
What are some alternatives?
laravel-query-builder - Easily build Eloquent queries from API requests
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
lazy-json-pages - 📜 Framework-agnostic package to load items from any paginated JSON API into a Laravel lazy collection via async HTTP requests.
lang - List of 126 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI.
laravel-vue-crud-starter - Laravel 8 + Vue 2 + AdminLTE 3 based Crud Starter template
laravel-quickstart - Everything you need to start a production-ready Laravel+MariaDB+PostgreSQL+Bootstrap system, in 5 minutes or less! https://vimeo.com/254289186
fast_page - Blazing fast pagination for ActiveRecord with deferred joins ⚡️
larasplitter - Laravel Api Splitter - Make your endpoints manageable
table-builder - table building, table abstraction, table rendering
Pagerfanta - Pagination library for PHP applications with support for several data providers