mindy/pagination
A pagination package for Laravel and PHP applications that helps split large result sets into manageable pages. It provides pagination helpers and rendering utilities, though documentation and community adoption are limited.
page, per_page, total, last_page) in the body or headers, and whether the backend or frontend owns pagination logic. Because it is offset-only with no JSON/API mode, evaluating it forces an explicit decision on the contract rather than a default.LengthAwarePaginator, CursorPaginator, Blade pagination views) or tolerates mixed-paradigm components. This package pushes toward the latter, which carries a real maintenance tax.Consider it only under narrow conditions:
Look elsewhere when:
paginate(), simplePaginate(), cursorPaginate(), and Blade pagination views out of the box. This package has no ServiceProvider, no Illuminate\Contracts\Pagination implementations, and no Blade views; it would sit beside the native paginator as a competing, incompatible abstraction with zero functional gain.dev-master.For executives: This is a small, MIT-licensed pagination widget belonging to a niche PHP micro-framework. It is not a strategic asset and does not warrant investment or a migration. Our recommendation is to not adopt it for our Laravel codebase: Laravel already provides production-grade pagination at zero marginal cost, and adding a package with a single star and no downstream users introduces maintenance and supply-chain exposure for a capability we already own. The business value of this evaluation is confirming a "no-build, use-the-default" decision and redirecting that effort toward features customers actually notice.
For engineering: Pagination is a commodity; treat it as configuration, not architecture. Standardize on Laravel's native paginator — offset for bounded admin tables, cursor for unbounded feeds and public APIs — define one response contract for paginated JSON, and keep pagination state in the query string so links are shareable. Where pagination is cross-cutting, depend on Illuminate\Contracts\Pagination\LengthAwarePaginator so any future swap is a container binding, not a refactor. If the Mindy behavior has specific value (e.g., a particular windowed page-number convention), port the 50–100 lines you need under MIT attribution and own them as a Blade component. If a genuine MindyPHP dependency forces adoption, treat it as a fork: pin to a commit SHA, vendor it, assign an internal owner, and schedule an annual review — and never run two pagination paradigms side by side in the same codebase.
How can I help you explore Laravel packages today?