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

aghfatehi/laravel-smartsearch

A Laravel package that brings smart, relevance-ranked search to your Eloquent models. Index records, run fuzzy and partial keyword matches, and get ranked results back through a simple, configurable API, with minimal setup and no external search service required.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Semantic search as a product surface: v1.2.0's addition of vector-embedding search (via Ollama) makes this package a candidate for improving discovery UX—relevance-ranked results that match intent rather than exact keywords. This directly informs whether search quality is a differentiator worth investing in for your product.
  • Build vs. buy for AI search: Rather than staffing an ML/vector-search build, this package lets you evaluate a "buy-and-integrate" path for semantic retrieval inside an existing Laravel codebase. The decision shifts from "do we build embeddings infrastructure?" to "can a package get us to an acceptable relevance bar?"
  • Data-privacy / self-hosted AI strategy: Because Ollama runs locally, this supports a roadmap decision to offer AI-powered features without shipping customer data to third-party APIs—relevant for regulated, enterprise, or on-prem customers.
  • Roadmap sequencing for "smart" features: Search relevance is often a prerequisite for recommendations, RAG-style Q&A, and support-deflection features. Adopting this now can de-risk later roadmap items that depend on embeddings.
  • Use-case fit assessment: Strong fit for internal knowledge bases, documentation search, support-ticket lookup, catalog/product discovery, and content-heavy apps where keyword search underperforms.

When to Consider This Package

Consider adoption when:

  • Your application is on Laravel/PHP and you want semantic search without a separate vector database service.
  • You have (or can run) an Ollama instance and are comfortable with local/self-hosted model operations—this is the key operational dependency introduced by v1.2.0.
  • Data residency, cost control, or vendor-avoidance make hosted embedding APIs (OpenAI, Cohere, etc.) unattractive.
  • You want a configurable, incremental path: start with keyword/hybrid behavior, layer in embeddings, and tune via the newly added configuration options.
  • Your corpus is modest-to-moderate and relevance quality matters more than sub-100ms latency at massive scale.

Look elsewhere when:

  • You are not on Laravel/PHP, or your stack is polyglot and you'd prefer a dedicated search service (Elasticsearch/OpenSearch, Typesense, or a managed vector DB).
  • You need enterprise-grade search analytics, faceting, and ranking controls out of the box.
  • You're operating at very large scale or need horizontally scaled vector search with strict SLAs—embedding generation and retrieval may warrant dedicated infrastructure.
  • You cannot operate an Ollama host (no GPU/CPU budget, no ops capacity) and prefer a fully managed embedding provider.
  • You require guaranteed, documented upgrade/compatibility contracts; a young package's driver changes (as seen in this release) may introduce churn.

How to Pitch It (Stakeholders)

To executives: This release adds AI-powered semantic search that runs on our own infrastructure via Ollama. That means we can deliver "smart" search—results that understand intent, not just keywords—without sending customer data to third-party AI vendors and without per-query API bills. It's a low-risk, reversible integration into our existing Laravel stack that lets us test whether better search moves a business metric (conversion, deflection, task completion) before committing to a larger AI roadmap. The trade-off is a modest operational commitment to host and maintain a local model endpoint.

To engineering: v1.2.0 introduces vector-embedding search through Ollama, adds configuration options to control behavior, and updates drivers for compatibility. It keeps integration within the framework's conventions, so adoption is largely configuration plus an Ollama dependency rather than new infrastructure. Key engineering considerations: embedding-model choice and versioning, re-indexing strategy when documents or models change, latency/cost of embedding generation, and a hybrid (keyword + semantic) fallback to protect relevance and availability. We should scope a spike to validate relevance on a representative corpus and confirm the Ollama hosting footprint before broader rollout.

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