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

Search Bundle Laravel Package

meilisearch/search-bundle

A Symfony bundle that integrates Meilisearch into your application, delivering fast, typo-tolerant search and autocomplete with simple configuration, automatic indexing, and customizable searchable entities.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for search: This bundle is the "buy the glue, build the relevance" option. It removes integration work (index configuration, Doctrine entity synchronization, autocomplete endpoints) so the team spends its time on relevance tuning and search UX instead of plumbing.
  • Feature bets that depend on search quality: Typo tolerance, faceted filtering, instant/"search-as-you-type" results, and synonym handling are all served out of the box. If the roadmap has a discovery, catalog, marketplace, or documentation-search feature, this is a credible accelerator rather than a from-scratch build.
  • Roadmap sequencing — search as an early investment: Search quality tends to gate conversion and retention metrics (zero-result rate, search exit rate, time-to-result). Adopting this package early lets you instrument those metrics sooner, which informs whether further relevance work is worth funding.
  • Vendor and cost strategy: Meilisearch is MIT-licensed and self-hostable, with usage-based-free economics versus Algolia's per-search pricing. That makes forecast-friendly unit economics a defensible input to the pricing/COGS discussion at scale.
  • Search configuration as product artifact: Index settings (searchable attributes, ranking rules, filterable/sortable fields) become reviewable config rather than tribal knowledge, which is useful when relevance is a product-owned surface rather than an engineering afterthought.
  • Reindexing and schema-change planning: Any roadmap item that changes how records are modeled (new attributes, nested objects, multi-entity search) has an operational cost. Knowing the sync/reindex path early prevents a late-stage "search is broken after the migration" incident.

Important caveat for a Laravel/PHP shop: despite the package name, this is a Symfony bundle (meilisearch-symfony), not a Laravel package. In a Laravel codebase the correct integration is the first-party laravel/scout plus the Meilisearch Scout driver, not this bundle. Treat this package as the reference for what a framework integration should do (index sync, settings management, search service wiring), and adopt the equivalent Laravel path.

When to Consider This Package

Good fit:

  • The application is genuinely Symfony (6.x/7.x) with Doctrine ORM entities and autowiring — the bundle's core value is Doctrine lifecycle hooks driving index updates.
  • You already run or are willing to run a Meilisearch service (self-hosted or Meilisearch Cloud); the bundle is not a search engine, it's an adapter.
  • Search is a user-facing differentiator (catalog, docs, marketplace listings) where typo tolerance and instant results measurably beat LIKE/MATCH queries.
  • Index size is modest (roughly up to low millions of records) and query patterns favor fast, simple, filter-and-facet lookups over deep aggregations.
  • The team wants to stay in PHP idioms rather than hand-rolling HTTP clients and event subscribers.

Look elsewhere when:

  • You're on Laravel — use laravel/scout with the Meilisearch driver. Do not try to bolt a Symfony bundle into a Laravel app; the event model and service container assumptions don't translate.
  • You need heavy analytics-style search — complex nested aggregations, large-scale log/search-over-everything, or long-tail relevance scripting point to Elasticsearch/OpenSearch.
  • You want zero operations — a fully managed, hands-off search with no service to run is Algolia's pitch, at the cost of per-search pricing.
  • Your dataset is small and simple — Postgres full-text search or a well-tuned LIKE may be "good enough" and avoids a new service, new failure mode, and new on-call surface.
  • Community size is a hard procurement constraint — 154 stars and 0 listed dependents means a small ecosystem. Budget for the possibility of maintaining a fork or dropping to the underlying meilisearch-php SDK, and pin versions deliberately.

How to Pitch It (Stakeholders)

To executives (one paragraph): Search is a conversion-critical surface, and today we'd be building the pipeline ourselves. Meilisearch gives us typo-tolerant, instant, faceted search under an MIT license with no per-query fees, and this bundle is the thin, low-risk adapter that connects it to our Symfony application. The integration work is measured in days rather than weeks, and it lets us instrument and improve search relevance as an ongoing product capability instead of a one-off engineering project. The main trade-off is that we operate a search service ourselves and the integration's community is small — both are bounded, and we can fall back to the vendor's underlying PHP SDK if needed. Net: faster time-to-market on a feature users judge us by, with predictable, forecast-friendly costs.

To engineering (one paragraph): This is a Symfony bundle that wires Meilisearch into the framework: it manages index settings from config, keeps Doctrine entities in sync via lifecycle events, and exposes a search service you inject rather than a bespoke HTTP client. It's MIT-licensed and actively maintained (recent releases), but adoption is thin — few stars and no listed dependents — so treat it as a convenience layer over the official meilisearch-php SDK rather than an abstraction we can't escape. Pin the version, keep index configuration in version control, plan for asynchronous indexing and a zero-downtime reindex path, and confirm the fallback: if the bundle stalls, we reimplement the event subscribers directly against the SDK in a contained amount of work. If we were a Laravel shop, the equivalent is Scout plus its Meilisearch driver — same architecture, different glue.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin