Weave 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 Searchable Scope

Eloquent Searchable Scope Laravel Package

baethon/eloquent-searchable-scope

A Laravel package that adds reusable searchable scopes to Eloquent models, letting you filter query results by search terms through a fluent, chainable interface instead of repeating query logic across your application.

View on GitHub
Deep Wiki
Context7

baethon/eloquent-searchable-scope adds a reusable searchable scope to Laravel Eloquent models, letting you query records against multiple columns without repeating where ... orWhere chains. Define which attributes participate in the search, and the scope builds the grouped query for you.

  • Apply a single search($term) call across configured columns
  • Grouped WHERE clauses keep orWhere logic from breaking other constraints
  • Per-model configuration of searchable attributes
  • Works cleanly alongside existing scopes and query builders
  • Lightweight trait integration—no extra tables or migrations
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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels