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 Laravel Package

mehdi-fathi/eloquent-filter

Laravel package to filter Eloquent models via query strings. Supports complex query structures, custom/overridable conditions, builder integration, and fine-grained control over filter execution. Useful for APIs and large datasets, with optional rate limiting.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

The package provides a clean architecture fit for Laravel applications by extending Eloquent with a standardized filtering layer via a trait and query string parsing. Integration feasibility is high due to minimal setup steps (Composer require, trait usage, whitelist configuration) and compatibility with Laravel 8-13. Key technical risks include potential SQL injection if whitelist is misconfigured (though the package enforces whitelisting), performance degradation with complex nested filters on large datasets (e.g., multiple whereHas), and ambiguous security implications for the "fuzzy search" feature which may bypass database indexes. Critical questions: How does it handle nested relationship filtering with deep joins? What's the actual maintenance cadence given the suspicious 2026 release date? Are there known conflicts with Laravel Sanctum or other auth packages? How does the rate limiting feature scale under high traffic?

Integration Approach

Stack fit is excellent for modern Laravel projects using Eloquent, with explicit support for PHP 8.0-8.5 and Laravel 8-13. Migration path involves:

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.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log