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

Technical Evaluation

Architecture fit: Excellent fit for Laravel applications requiring unified search across multiple Eloquent models. Leverages Laravel's existing ORM and query builder patterns, avoiding new architectural patterns. Supports database-agnostic core functionality while handling DB-specific optimizations (e.g., full-text search implementations). Aligns with Laravel's conventions for relationships, scopes, and pagination.

Integration feasibility: High feasibility via Composer installation. API is intuitive with clear method chaining (e.g., add(), search(), paginate()). Requires Laravel 11+ and PHP 8.2+—existing projects must upgrade if outdated. Integration involves replacing ad-hoc multi-model search logic with package methods, but existing query constraints and eager loading can be directly reused via the add() method's query builder support.

Technical risk:

  • Database compatibility nuances (e.g
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