Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Eloquent Filter Sort Pagination Laravel Package

stepovenko/eloquent-filter-sort-pagination

stepovenko/eloquent-filter-sort-pagination provides Laravel developers with reusable Eloquent helpers for filtering, sorting, and paginating query results. It aims to simplify request-driven list endpoints and reduce repetitive query boilerplate.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for list endpoints. This package targets the recurring Laravel need to filter, sort, and paginate Eloquent queries from request parameters. Adopting it is a decision to buy a solved problem rather than hand-roll query-param parsing in every controller.
  • API contract standardization. Supports defining one consistent convention (?filter[...], ?sort=, pagination params) across REST/JSON endpoints and admin tables, reducing per-endpoint bikeshedding.
  • Roadmap and effort sizing. If adopted, list/filter/sort work shifts from custom build to integration, freeing engineering capacity for higher-value features. If not adopted, budget explicit build time plus ongoing maintenance.
  • Dependency and lock-in posture. Because this is a small, single-maintainer utility at an early 1.x version, the decision should include whether to wrap it behind an internal interface (repository/query-builder abstraction) so it can be swapped later.
  • Feature prioritization. Helps decide which endpoints actually need advanced filtering versus simple native pagination, avoiding over-engineering low-traffic screens.

Note: the 1.0.9 release notes contain only a compare link with no documented changes, so this is a first assessment based on the package's stated purpose and versioning, not on verified release contents.

When to Consider This Package

Consider adopting when:

  • You have several Eloquent-backed list endpoints (public API, admin panel, internal tools) and want uniform filter/sort/pagination behavior without bespoke code in each.
  • Requirements are conventional: field-level filters, single or multi-column sort, standard pagination.
  • The team is comfortable pinning the version, reviewing the source, and wrapping the package behind an internal abstraction to limit lock-in.
  • Native Laravel pagination plus a handful of scopes would otherwise be duplicated across many controllers.

Look elsewhere when:

  • You need relation-aware filtering, nested boolean logic, or authorization-scoped filtering — evaluate more established query-builder packages (e.g., Spatie's query builder) or custom query objects.
  • Maintenance and stability signals are weak: single maintainer, low adoption, and a patch release (1.0.9) with no substantive changelog content are yellow flags. A fork-and-own or build-in-house path may be safer for long-lived products.
  • Performance-critical or heavily customized query construction is required.
  • Your list needs are trivial — Laravel's built-in pagination and a few local scopes may be sufficient, avoiding a dependency entirely.

How to Pitch It (Stakeholders)

To executives: A small, low-cost open-source dependency that standardizes filtering, sorting, and pagination across our APIs and admin screens. It shortens delivery of data-listing features and reduces custom code, with risk contained by wrapping it behind our own interface so we can replace it if maintenance lags.

To engineering: Treat it as a thin convenience layer, not a core dependency. Pin the version, review the source, add tests around parameter parsing and edge cases, and expose it through an internal abstraction. The 1.0.9 changelog is undocumented, so verify behavior before upgrading and keep an exit path (native scopes or a more established query-builder package) if the project stalls.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox