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 Search Laravel Package

mmanos/laravel-search

A driver-based full-text search package for Laravel that lets you index and search Eloquent models with a simple, fluent API. Supports multiple backends and integrates cleanly into existing models and queries.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for search: Gives you a working, driver-based search layer for Eloquent models without committing to a search vendor. Lets you ship "search" as a scoped feature (basic keyword matching, model-level filtering) rather than an open-ended infrastructure project.
  • Roadmap sequencing / de-risking the backend decision: The driver abstraction is the real product asset. You can launch on a database driver now (cheap, no new infra) and defer the Elasticsearch/Algolia/Solr decision until usage data justifies it — swapping drivers without rewriting product code.
  • Build vs. buy (vs. borrow): A thin adapter layer like this is rarely worth building in-house. Using it (or its pattern) avoids a custom abstraction that becomes debt, and keeps engineering focused on user-facing relevance and UX instead of plumbing.
  • Prioritization and effort estimation: Low integration cost makes "add search" a plausible small-bet item on a quarterly roadmap, suitable for admin tools, internal search, content/catalog lookup, and MVP validation before investing in relevance tuning, faceting, or typo tolerance.
  • Reference architecture for a fork: Even if you don't depend on it directly, it's a useful prior-art reference for how to structure model indexing (observers) and query building if you later adopt Laravel Scout or build your own adapter.

When to Consider This Package

Consider it when:

  • You are on Laravel 5.x (or willing to port it) and have a legacy or internal app where search is a supporting feature, not the product.
  • Your dataset is small-to-mid and well-served by database full-text search, and you don't need relevance tuning, synonyms, highlighting, faceting, or geo.
  • You explicitly want a backend-agnostic prototype to validate a search feature before committing to search infrastructure spend.
  • You have appetite to vendor/fork the code and own maintenance.

Look elsewhere when:

  • You're on Laravel 6+. The package targets Laravel 5 and shows no sign of a framework-support refresh: the only recent activity is v1.0.5, a one-line patch fixing an Elasticsearch "removed match type" issue. That is a bugfix, not a maintenance commitment — no Laravel/PHP compatibility work, no tests/CI signal, no security posture. Treat "last meaningful release 2017, one drive-by patch since" as effectively unmaintained.
  • You need modern search capabilities (facets, typo tolerance, synonyms, ranking control, analytics) or expect high query volume/scale.
  • You need ecosystem validation or support. Zero dependents and no active community means no safety net; the 350 stars reflect historical interest, not current viability.
  • Laravel Scout covers your need: it's the first-party abstraction with Algolia/Meilisearch/database drivers and active maintenance. For new work, Scout is the default comparison and usually wins on maintenance risk alone.

How to Pitch It (Stakeholders)

To executives: This is a low-cost way to put search in front of users now and postpone the expensive search-infrastructure decision until we have usage evidence. The trade-off is maintenance risk: the package is pinned to an older Laravel version and effectively unmaintained — the recent v1.0.5 release is a single bugfix for the Elasticsearch driver, not a sign of an active roadmap. Treat it as a short-term bridge or prototype, not a strategic dependency, and budget a fork-or-replace path if the feature proves valuable.

To engineering: A small, driver-based search abstraction for Eloquent models — indexing via model observers, a simple query API, and swappable backends (database now, external engine later). v1.0.5 patches a stale Elasticsearch match type in the ES driver, which is a useful signal that the ES path isn't wholly broken — but it's the only recent change, and nothing addresses the Laravel 5-only constraint, PHP/runtime compatibility, or absent test coverage. Recommendation: use it to validate the feature or as reference architecture, then migrate to Laravel Scout or a maintained fork before this becomes load-bearing.

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.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle