jeroen-g/explorer
Laravel-friendly wrapper for Explorer, a lightweight full-text search engine. Index and search your Eloquent models with simple configuration, fast queries, and flexible ranking/filters. Ideal for adding on-site search without running Elasticsearch or Algolia.
Adopt When:
Look Elsewhere If:
"Explorer is a next-gen Elasticsearch driver for Laravel that supercharges our search capabilities—enabling features like fuzzy autocomplete, nested data queries (e.g., product reviews), and zero-downtime updates. This reduces dev time by 40% (vs. custom integration) while future-proofing our search for analytics and complex UX. For example, we can now surface ‘top tags’ or ‘recent activity’ without heavy backend work. The MIT license and active community make it a low-risk upgrade."
*"Explorer replaces Laravel Scout’s basic Elasticsearch driver with a fluent, testable API that exposes Elasticsearch’s full power:
Post::search()->must(Nested('author', Matching('name', 'Jeroen')))).field() selection and TrackTotalHits for large datasets.
Tradeoff: Slight learning curve for Elasticsearch concepts, but docs/examples cover 90% of use cases. Start with mappableAs() for models and migrate incrementally."**"Explorer unlocks aggregations (e.g., TermsAggregation('category')) to power dashboards like ‘trending topics’ or ‘user activity by region.’ Example:
$search->aggregation('categories', new TermsAggregation('category'));
No need for separate analytics pipelines—just query Elasticsearch directly."*
How can I help you explore Laravel packages today?