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

Laravel Cross Eloquent Search Laravel Package

protonemedia/laravel-cross-eloquent-search

Search across multiple Eloquent models with one query. Supports pagination, scoped constraints, eager loading, relationship and nested search, full-text search, cross-model sorting, and ordering by relevance. Works with MySQL, PostgreSQL, and SQLite.

View on GitHub
Deep Wiki
Context7
3.7.0

What's Changed

New Contributors

Full Changelog: https://github.com/protonemedia/laravel-cross-eloquent-search/compare/3.6.0...3.7.0

3.2.0
  • Support for Laravel 10
  • Dropped support for PHP 8.0
3.1.0
  • Support for PHP 8.2
  • Dropped support for Laravel 8
3.0.1
3.0.0
  • Support for Full-Text Search.
  • Support for custom type values when using the includeModelType method (thanks @muarachmann!).
  • By default, the results are sorted by the updated column, which is the updated_at column in most cases. If you don't use timestamps, it will now use the primary key by default.
  • The get method has been renamed to search (thanks @babacarcissedia!).
  • The addWhen method has been removed in favor of when.
2.7.1
  • Add Conditionable trait to Searcher (thanks @Daanra!)
2.7.0

Support for Laravel 9

2.6.1
  • Bugfix for excluding models when searching for relations without a search term (fixes #37).
2.6.0
  • Added includeModelType method (thanks @mrkalmdn!)
2.5.0
  • Support for PHP 8.1
  • Dropped support for PHP 7.4
  • Dropped support for Laravel 6 and 7
2.4.0

Support for searching through relationships

2.3.2

Fix for non-latin terms

2.3.1

Respect the existing orders when ordering by model type

2.3.0

Added 'orderByModel' method

2.2.5

Bugfix for Non-Latin languages

2.2.4
2.2.3

Ignore case

2.2.2

Bugfix for empty search terms

2.2.1

Bugfix for JSON columns

2.2.0

Support for ordering by relevance

2.1.0

Support for Table prefixes

2.0.4
  • Fix phpdoc comment format (credit to @gazben)
2.0.3
  • Bugfix for non-paginated queries
2.0.2
2.0.0
  • Support for the soundex algorithm
  • Ability to disable wildcards
  • Uses the getUpdatedAtColumn method to evaluate the updated column
  • startWithWildcard method has been renamed to beginWithWildcard
  • allowEmptySearchQuery method and EmptySearchQueryException class removed
1.9.0

Support for addMany and addWhen methods

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