Weave Code
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport