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

indexzer0/eloquent-filtering

Define allowed filters on your Eloquent models and apply them from simple arrays or request data—no custom query logic. Supports complex, type-based filtering for APIs and dashboards on Laravel 10+ / PHP 8.2+.

View on GitHub
Deep Wiki
Context7
2.2.2

What's Changed

Added

  • Laravel 13 support.

Full Changelog: https://github.com/IndexZer0/eloquent-filtering/compare/2.2.1...2.2.2

2.2.1

What's Changed

Added

  • PHP 8.5 support.

Full Changelog: https://github.com/IndexZer0/eloquent-filtering/compare/2.2.0...2.2.1

2.2.0

What's Changed

Added

  • Laravel 12 support.

Fixed

  • Deprecation warnings for implicitly marking method parameters as nullable for PHP 8.4.

Full Changelog: https://github.com/IndexZer0/eloquent-filtering/compare/2.1.1...2.2.0

2.1.1

What's Changed

Fixed

  • :null modifier for $in and $notIn not having correct query logical grouping when used in combination with other filters.

Full Changelog: https://github.com/IndexZer0/eloquent-filtering/compare/2.1.0...2.1.1

2.1.0

What's Changed

Added

  • Support defining pivot filters on Custom Intermediate Table Models.

Full Changelog: https://github.com/IndexZer0/eloquent-filtering/compare/2.0.0...2.1.0

2.0.0

What's Changed

Added

  • Docs
  • FilterType Enum
  • Required Filters
  • Pivot Filters
  • Morph Filters
  • Validation Rules
  • Filter Modifiers
  • Exceptions
    • InvalidFiltersPayloadException
    • InvalidModelFqcnException
    • UnsupportedModifierException
    • RequiredFilterException

Changed

  • Qualifying Columns for all core field filters
  • Custom Filters Structure

Removed

  • Some dedicated filter classes were removed in favour of new modifiers feature.
    • $like:start
    • $like:end
    • $notLike:start
    • $notLike:end
  • Filter::all()
  • Target::relationAlias()
  • Types::except()
  • Config
    • default_allowed_filter_list

Full Changelog: https://github.com/IndexZer0/eloquent-filtering/compare/1.0.0...2.0.0

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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui