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

Laravel Searchable Laravel Package

h-farm/laravel-searchable

Laravel Searchable by h-farm adds simple, driver-based full-text search to Eloquent models, letting you index records and run clean, reusable search queries with minimal setup in Laravel applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Global/unified search as a feature: maize-tech/laravel-searchable lets a single query span multiple Eloquent models via a Searchable trait and a pluggable engine abstraction. That directly supports roadmap items like a site-wide search bar, an admin/back-office search across entities, or a marketplace search over listings, sellers, and categories in one result set.
  • Build vs. buy vs. bolt-on: It sits between "hand-rolled SQL LIKE queries" and "Laravel Scout + Algolia/Meilisearch/Typesense." It is the cheapest credible way to ship multi-model search without adding external infrastructure, a hosted search vendor, or an indexing pipeline to operate.
  • Engine abstraction as a hedge: Because the engine is swappable, choosing this package does not foreclose moving to Scout or a dedicated engine later. That lowers the cost of being wrong and makes it a reasonable MVP/default decision rather than a one-way door.
  • Roadmap and platform timing: 4.2.0 adds Laravel 13 support. That is the decision-relevant item in this release — it means the package is compatible with the next framework major, so search work does not become an upgrade blocker. The remaining changes are dependency bumps (GitHub Actions, Dependabot metadata), which carry no product surface area.
  • Use cases it fits well: internal tools and admin panels, MVPs and early-stage products, catalogues with moderate record counts, and teams that want search results derived from data already in the primary database (no sync lag, no second source of truth).
  • Upgrade risk is negligible: 4.2.0 is a minor release with no breaking changes and no deprecations. There is no product-facing behaviour change to test beyond the framework upgrade itself.

When to Consider This Package

Adopt when:

  • Search must span multiple Eloquent models, not a single table.
  • Data volume and query complexity are moderate — database-backed search is fast enough, and full-text/typo tolerance is not a hard requirement.
  • The team wants no new infrastructure: no search cluster, no indexer, no vendor contract, no data-sync pipeline.
  • You need filters, ordering, and pagination over results with a consistent API across models.
  • You are on, or planning to move to, a Laravel version the package supports — 4.2.0 covers through Laravel 13.
  • You want an escape hatch: results are consumed through an engine interface, so a later swap to Scout or Meilisearch is a contained change.

Look elsewhere when:

  • You need relevance quality that a database engine cannot deliver: fuzzy/typo tolerance, stemming and language analyzers, synonym sets, custom ranking functions, or semantic/vector search. That is Scout plus a dedicated engine, not this.
  • Datasets are large or write-heavy, where indexing into a search table becomes a bottleneck or the source of truth drifts.
  • Search must span non-Eloquent or external data sources (third-party APIs, event streams, document stores).
  • You require multi-tenant index isolation, per-tenant ranking tuning, or search analytics out of the box — you would be building that on top.
  • The organisation has already standardised on a search platform; adding a second search path creates inconsistency for users and duplicated effort for engineers.

How to Pitch It (Stakeholders)

For executives: This is a small, framework-native library that lets us ship cross-entity search — the kind users expect from a modern product — without buying a search vendor or standing up new infrastructure. That means faster time-to-value, no additional recurring cost, no new operational surface, and no vendor lock-in: the search engine is abstracted, so if we outgrow it we can migrate to a dedicated engine without rewriting the product features that sit on top. The 4.2.0 release is a maintenance release: it adds Laravel 13 compatibility and updates CI dependencies. There are no breaking changes and no deprecations, so adopting or upgrading is low-risk and keeps us aligned with the framework's support window rather than drifting onto an unsupported version.

For engineering: Trait-based integration on existing Eloquent models, swappable engine interface (database/collection out of the box, custom engines when needed), unified result sets across models with filtering, ordering, and pagination. 4.2.0 is safe to take: dependency bumps plus Laravel 13 support; no API changes to test against. The practical caveat is scope — this is database-backed search, so relevance tuning, typo tolerance, and language analysis are limited by design. If the product requirement is "search that forgives misspellings and ranks by relevance," budget for Scout with Meilisearch or Algolia instead, and treat this package as the interim step that ships the feature now and is cheap to replace later. Recommendation: adopt for the current roadmap, pin the version, and revisit if search latency or relevance complaints appear once dataset size grows.

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.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox