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

Elasticsearch Laravel Package

addons/elasticsearch

A Laravel/PHP addon that integrates Elasticsearch into your application, making it easy to index Eloquent models and run fast, flexible full-text searches through a simple, configurable bridge between Laravel and Elasticsearch.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Search delivery: build-lite over bespoke integration. This package supplies the glue layer for Elasticsearch-backed search on Laravel/Scout — a Scout-compatible paginator, a result collection adapter, and a query logger — so the decision becomes "adopt a helper" rather than "fund an integration sprint."
  • Roadmap classification of search. It cleanly frames search as a commodity capability rather than a differentiator. That framing drives staffing, investment, and whether we pursue a dedicated search platform later.
  • API and UX consistency. The paginator and collection helpers preserve Laravel-native pagination semantics and Eloquent-like result shapes. This supports keeping a single, predictable contract across search endpoints and paginated result screens — a real product-surface decision, not just an implementation detail.
  • Search quality and observability. The logger helper makes Elasticsearch query traffic inspectable, supporting decisions on relevance monitoring, debugging workflows, and (where required) auditability of query logs.
  • Use-case fit. E-commerce catalog search, in-app SaaS search, documentation/knowledge-base search, and internal admin/log search inside Laravel apps already on Scout.
  • Vendor and portability strategy. MIT-licensed and thin over the official Elasticsearch client and Scout driver — it supports a "no lock-in" architecture decision that can be forked or replaced without changing the product surface.

When to Consider This Package

Consider it when:

  • The application is already on Laravel and uses (or is committing to) Laravel Scout.
  • Elasticsearch is the chosen backend and the team wants Scout-idiomatic pagination, collections, and logging without writing and maintaining adapters.
  • Search is a supporting capability; speed-to-market and convention consistency matter more than bespoke optimization.
  • The team can absorb a small dependency responsibly: pin the version, wrap it behind an internal interface, and cover it with tests.

Look elsewhere when:

  • Relevance tuning, ranking experiments, hybrid/vector search, aggregations, highlighting, or multi-index orchestration are product-critical. A thin helper is insufficient; use a dedicated platform or the first-party client behind an internal abstraction.
  • Adoption and durability risk is unacceptable. 46 stars and 0 dependents signal a small community and low bus factor — treat this as a forkable helper, not a strategic dependency.
  • The team lacks Elasticsearch operational experience. Managed search (Algolia, Typesense, managed OpenSearch) is the better buy decision.
  • Compliance requires vendor SLAs, security review evidence, or long-term support commitments this project cannot offer.

How to Pitch It (Stakeholders)

For executives: Elasticsearch-backed search is table stakes for our product, and this MIT-licensed helper lets us deliver it on our existing Laravel/Scout stack with minimal incremental engineering spend. It shortens time-to-market for paginated, consistent search experiences and keeps us free of vendor lock-in. The risk is not licensing — it is project size. We mitigate by forking internally, pinning versions, and treating it as a small, replaceable component rather than a platform bet.

For engineering: it is a thin, well-scoped convenience layer over Scout and Elasticsearch — a paginator, a collection adapter, and a query logger — that standardizes how we return search results and how we debug them. It removes repetitive glue across search features, aligns with existing Eloquent conventions, and can be swapped out behind an interface if our needs grow into relevance tuning, aggregations, or vector search. Recommended posture: adopt, pin, wrap, and own.

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.
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings