table-builder
fast-paginate
table-builder | fast-paginate | |
---|---|---|
1 | 4 | |
4 | 1,148 | |
- | 1.1% | |
0.0 | 0.0 | |
about 2 years ago | 28 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.
table-builder
-
Best practice for running Symfony 5 project with Docker and Docker-Swarm
In development you wouldn't use the build stage, you would just use the runtime stage and map your local files to your container using a volume. I normally configure all this using docker compose. You could still run things like composer through docker to ensure complete consistency between development and the build server (I normally do this with the help of bash scripts).
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?
Bolt 5 Core - 🧿 Bolt 5 core
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.
symfony-docker - A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.
lazy-json-pages - 📜 Framework-agnostic package to load items from any paginated JSON API into a Laravel lazy collection via async HTTP requests.
Kimai 2 - Kimai is a web-based multi-user time-tracking application. Works great for everyone: freelancers, companies, organizations - everyone can track their times, generate reports, create invoices and do so much more. SaaS version available at https://www.kimai.cloud [Moved to: https://github.com/kimai/kimai]
cursor-pagination - Cursor pagination for your Laravel API
Grav - Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony
laravel-vue-crud-starter - Laravel 8 + Vue 2 + AdminLTE 3 based Crud Starter template
DoctrineMigrationsBundle - Symfony integration for the doctrine/migrations library
fast_page - Blazing fast pagination for ActiveRecord with deferred joins ⚡️
Pagerfanta - Pagination library for PHP applications with support for several data providers