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

Eloquent Filter Laravel Package

holoyan/eloquent-filter

A lightweight Laravel package that adds request-driven filtering to Eloquent models. Define allowed filters and let query strings shape your database queries cleanly, keeping controllers thin and avoiding repetitive where-clause boilerplate in your app.

View on GitHub
Deep Wiki
Context7

holoyan/eloquent-filter is a lightweight Laravel package that brings clean, reusable filtering to your Eloquent models. Instead of scattering when() clauses and request checks across controllers, you define filters once and apply them consistently—keeping query logic readable and testable.

  • Define filters as dedicated classes for separation of concerns
  • Apply request-driven filters directly to any Eloquent query builder
  • Compose multiple filters for flexible, layered queries
  • Keep controllers thin and models focused on relationships

Ideal for APIs and dashboards where models need dynamic, user-driven filtering without bloated query code.

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.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle