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.0.0
  • Support for Full-Text Search.
  • The get method has been renamed to search.
  • The addWhen method has been removed in favor of when.
  • Support for custom type values when using the includeModelType method.
  • 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.
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
  • Added support for searching through (nested) relationships
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.3
  • Support for ignore case
2.2.2
  • Bugfix for empty search terms
2.2.4
  • Bugfix for JSON columns
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.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 andWhen methods.
1.8.0
  • Support for simple pagination (credit to @mewejo).
1.7.0
  • Added a count method.
1.6.0
  • Allow empty search terms without selecting columns
1.5.0
  • Added support for PHP 8.0
1.4.0
  • Allow empty search terms
  • Added new() method method
1.3.1
  • Docs
1.3.0
  • Support for Laravel 8.0
1.2.0
  • Standalone search terms parser
1.1.0
  • Option to disable the parsing of the search term
1.0.0
  • Initial release
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