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

Meiliscout Laravel Package

amphibee/meiliscout

MeiliScout is a Laravel Scout driver that connects Eloquent models to Meilisearch for fast, typo-tolerant full-text search. It supports indexing, filtering, sorting, pagination, and familiar Scout APIs, making it easy to add powerful search with minimal configuration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Search-as-a-differentiator vs. search-as-a-checkbox. The core PM decision this package touches is whether search quality is a product surface worth investing in. If your roadmap includes "find the right thing fast" as a value prop (marketplaces, catalogs, documentation, internal tools), the choice of Meilisearch + a native integration is a lever on conversion, task completion, and support-ticket volume — not just an infra detail. Release 2.5.0 materially strengthens this case: search-as-you-type autocomplete with grouped suggestions, images, matched-term highlighting, a mobile full-screen sheet, and remembered recent searches is the highest-leverage UX in search (it fixes query formulation, which is where most zero-result sessions are lost).
  • Build vs. buy on the integration layer — the math just changed. Previously this was framed as "a few hundred lines of glue over Laravel Scout's first-party Meilisearch driver." 2.5.0 is not glue: it ships a suggestion field registry with validation, a public search form that becomes an accessible combobox talking to Meilisearch directly (debounced, aborted, cached), a pluggable template layer, per-field API keys and tenant-token minting, an admin screen, and a CLI check command. That's a genuine head start — and also a much larger surface you'd inherit. Frame it as "buy a head start, accept a maintenance and review tail."
  • ⚠️ Platform verification is now the top decision. The 2.5.0 notes describe a WordPress plugin, not a Laravel/Scout package: meiliscout_register_suggest(), meiliscout_suggest(), wp meiliscout check-suggest, a "MeiliScout › Suggestions" admin screen, a core "Search block," theme parts, and Twig/Blade template options. If your stack is Laravel, the entire build-vs-buy comparison in the prior assessment (against Scout's first-party driver) is invalid and this release is not for you. If your stack is WordPress, the comparison must be reset against the WP Meilisearch plugin ecosystem and hand-rolled options — and the earlier "Scout already does this" objection disappears. Resolve this ambiguity before anything else; it is a one-hour check that determines whether the rest of this document applies.
  • Relevance tuning as an ongoing product-ops capability. Decisions about synonyms, typo tolerance, ranking rules, facet ordering — and now which post types and taxonomy terms appear as suggestion groups, and in what order and shape — are product decisions, not engineering ones. Exposing them as declarative configuration makes them iterable without a deploy. This remains the highest-leverage reason to care.
  • Infra posture: self-hosted search vs. managed SaaS (Algolia/Typesense Cloud). Meilisearch + a native CMS integration is the "cheap, self-hosted, good-enough" branch. 2.5.0 adds a rest transport (a server-side proxy for browsers that can't reach Meilisearch directly), which slightly widens the deployment shapes you can support — relevant to cost modeling and data-residency/compliance constraints.
  • Use cases it plausibly serves: product/catalog search, site-wide "global search" modals and command palettes, admin back-office lookup, documentation search, content-site autocomplete (now first-class), multi-tenant search where per-index or per-field isolation matters.

When to Consider This Package

Consider it only if all of the following hold:

  • You have confirmed the platform actually matches your stack (see the flag above). The 2.5.0 release describes a WordPress plugin; if you're on Laravel, stop here. If you're on WordPress, the bar is: you've already chosen (or are seriously evaluating) Meilisearch as the engine. This package is not a reason to pick Meilisearch; it's an accelerant after that call.
  • You need something beyond the baseline plugin/driver — grouped suggestion sources across post types and taxonomies, per-field public keys with tenant-token scoping, reindex workflows, or an autocomplete front-end you'd otherwise build yourself. Verify this gap concretely; "it looks nicer" is not a gap.
  • You have PHP capacity to read the source and fork it — and, given 2.5.0, front-end capacity too. The suggestion form is a shipped JS/CSS component with mobile viewport handling and browser storage. Forking a thin PHP adapter is easy; forking a UI component that must track browser behavior is not.
  • You can absorb a full reindex as a planned operation. Posts index schema 6 is additive (schema-5 queries keep working), but the thumbnail field stays empty until you reindex. Gate releases on wp meiliscout status / the equivalent and budget a reindex window in your rollout plan.
  • You can get security review for a public surface. 2.5.0 mints a search-only Meilisearch key per suggestion field, exposes a token-renewal endpoint, adds a server-side search proxy, and renders templates that "can be HTML, a Blade view, a Twig template, a theme part, a callable." Public keys, token signing, HTML templating (XSS), and a proxy endpoint are all reviewable items. If security review is a multi-week queue, factor that into the timeline.
  • Your search surface is internal or non-critical-path at first — a place where a thin, low-adoption dependency falling behind won't take down revenue.

Look elsewhere (or vendor the code) if:

  • Adoption signals matter to you. Still effectively no community validation — no ecosystem to catch regressions, no corpus of answers, no track record of surviving a platform major-version bump. For anything customer-facing and revenue-linked, that remains a hard sell to a risk-averse org. Note that 2.5.0 increases the cost of that risk: a bigger dependency with a browser-facing component and public endpoints is a bigger blast radius than a thin PHP wrapper.
  • You need vendor SLAs, security review, or long-term support. A single-maintainer package with no dependents is an unhedged bet — now with more credentials, endpoints, and rendered HTML to audit.
  • You'd only be using it as a thin wrapper. If you can't name the specific behavior it gives you that the engine's own SDK and your CMS don't, write the glue yourself.
  • You're considering Algolia/Typesense. The whole package is irrelevant to that branch.
  • You need it today, in production, with confidence. The release metadata (a far-future 2026-10-15 date with essentially zero adoption) still reads as early-stage or lightly-maintained. Treat it as evaluate, don't depend — and treat a major-ish feature drop like 2.5.0 from a package this young as evidence of velocity, not of stability.

PM framing: this remains a spike candidate, not a platform decision. Timebox a 1–2 day evaluation, and require the engineer to answer two questions: "does this even run on our stack?" and "what breaks if this repo goes quiet for 12 months?" The second question is heavier now that the answer includes an autocomplete UI and a public API-key surface.

How to Pitch It (Stakeholders)

To executives (30 seconds): This is a small, unproven PHP add-on for Meilisearch — the open-source search engine we'd use as a cheaper alternative to Algolia. The new version adds real autocomplete: type-ahead suggestions with images, grouped results, and recent searches on mobile. That's the kind of feature that moves conversion, and it's free. But it still has essentially no user base, and this release adds public API keys and a browser-facing component, so the review burden went up, not down. Recommendation: fund a short technical spike, not an adoption. The strategic decisions in front of us are whether search quality is worth investing in and self-hosted vs. managed — this package is a detail inside that, and we shouldn't let a no-adoption dependency drive a platform choice. One caveat: I need engineering to confirm this release even matches our stack before we spend the spike.

To engineering: First, five minutes of diligence: the 2.5.0 notes read as WordPress (hooks, wp CLI, blocks, theme parts), so verify the package identity and platform before anything else — if it's WordPress and we're Laravel, the prior "Scout already has an official driver" objection stands and we're done. If it does match: (1) stand it up and diff its behavior against the baseline driver, (2) confirm current platform and Meilisearch version support, (3) audit the new surface — per-field search-only key issuance, the GET /suggest/{id}/token renewal endpoint, the rest proxy, and the template layer's HTML rendering path, (4) run the schema-5 → schema-6 reindex and confirm the additive guarantee holds under load, (5) write down exactly what we'd have to rebuild if it disappeared — and be honest that this now includes a JS combobox, not just PHP glue. If the answer is still "a weekend of glue," build the glue and own it. If it exposes configuration and a UI we'd otherwise hand-roll, vendor a pinned copy behind our own interface with a named internal owner.

To design/product-ops: If we go self-hosted Meilisearch, synonym management, typo tolerance, ranking rules, facet ordering — and now suggestion grouping by content type and taxonomy, result card templates, and recent-search behavior — become our knobs, tunable without a deploy. That's the real product upside: iterating on relevance weekly instead of quarterly, and shaping what a user sees in the first three keystrokes. Whether we get that through this package or our own thin layer is an implementation detail; the capability is the pitch.

Risk statement to attach to any approval: No adoption, low maturity score, single maintainer — and 2.5.0 adds credentials, public endpoints, server-side proxying, and an HTML template layer to the review scope, plus a mandatory full reindex for the new index field. Mitigations: pin the version, fork if needed, assign an internal owner, put the integration behind our own interface so swapping to the baseline driver or a hand-rolled adapter is a contained change, and schedule the reindex as an explicit release step rather than discovering it in production.

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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
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