spatie/elasticsearch-query-builder
Lightweight fluent PHP query builder for Elasticsearch. Build searches, filters, and aggregations with a clean API, then execute via the official client. Designed to pair with Spatie’s search-string parser; covers common use cases and is easy to extend.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| onemustcode/query | 0.90 | — | 4 | 4 | 2 | 62 | 5 | 4.4 | 16.5 | MIT | 8 years ago | |
| spatie/searchindex | 0.88 | Opinionated Laravel package to index and search objects via a unified API. Supports Elasticsearch and Algolia, with simple upsert and query methods for any model implementing the Searchable interface. | 438 | 444 | 48 | 15 | 0 | 7.8 | 0.2 | MIT | 8 years ago | |
| mohammad-fouladgar/eloquent-builder | 0.88 | — | 526 | 527 | 43 | 2K | 0 | 4.2 | 8.9 | MIT | 6 years ago | |
| tpetry/laravel-query-expressions | 0.88 | Add powerful SQL expression support to Laravel’s query builder. Compose reusable, type-safe expressions for functions, casts, JSON ops, windows, and more, with clean syntax and cross-database compatibility—ideal for advanced filtering, sorting, and computed columns. | 360 | 359 | 29 | 54K | 1 | 2.9 | — | MIT | — | |
| designmynight/laravel-elasticsearch | 0.87 | Laravel package that lets you query Elasticsearch with Eloquent-style builders and get model instances back. Supports query/filter/postFilter, geo search, complex aggregations, and the scroll API for large result sets. | 30 | 31 | 14 | 1K | 1 | 30.7 | 28.7 | MIT | 1 week ago | |
| adimeo-data-suite/search-client | 0.87 | Laravel/PHP search client for Adimeo Data Suite. Provides a simple API to connect to the service, send search queries, handle responses, and integrate search features into your application with minimal setup. | 0 | 0 | 0 | 3 | 0 | 0.0 | 8.3 | — | — | |
| isswp101/elasticsearch-eloquent | 0.86 | — | 112 | 112 | 14 | 747 | 0 | 1.9 | 12.2 | — | 5 years ago | |
| hungneox/ramen-elastic-query | 0.86 | — | 7 | 7 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| pdphilip/elasticsearch | 0.86 | Eloquent-style Elasticsearch for Laravel. Extend models and the query builder with native-feeling search features like term and phrase-prefix queries, match/fuzzy matching, highlighting, geo distance filters, plus familiar create/update/delete and pagination APIs. | 0 | 2 | — | 21K | — | 10.5 | 55.3 | — | — | |
| delormejonathan/elastica | 0.86 | Laravel-friendly PHP integration for the Elastica Elasticsearch client. Provides simple configuration, service container bindings, and convenient access to an Elastica client within your app for running searches and managing indexes. | 0 | 0 | 0 | 3 | 0 | 1.2 | 8.3 | MIT | 9 years ago | |
| chaplean/elasticsearch-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| elasticsearch/elasticsearch | 0.84 | Official PHP client for Elasticsearch. Connect to self-managed or Elastic Cloud clusters and access 500+ REST endpoints for indexing, searching, retrieving, and deleting documents. Includes docs, versioning guidance, and tools for mocking in tests. | 5,337 | 5,514 | 969 | 3M | 12 | 71.7 | 48.6 | MIT | 4 weeks ago | |
| adriballa/symfony-search-bundle | 0.84 | Symfony bundle that abstracts Elasticsearch: define indexes with two PHP classes, get auto-generated routes for index/document CRUD, validation, and a powerful search API (full-text, filters, sorting, pagination, aggregations). Optional client interfaces for programmatic use. | 11 | 11 | 0 | 0 | 1 | 2.8 | — | MIT | 10 months ago | |
| spatie/elasticsearch-search-string-parser | 0.83 | Parse custom search strings into Elasticsearch queries. Supports regex-based directives like status:active or @user, grouping directives, and autocomplete suggestions. Build searches via spatie/elasticsearch-query-builder and get results + directive suggestions. | 48 | 48 | 4 | 29 | 0 | 4.5 | 2.8 | MIT | 11 months ago | |
| spatie/laravel-query-builder | 0.82 | Build safe, flexible Eloquent queries from incoming API requests. Supports whitelisted filtering (partial/exact/scope/custom), sorting, includes, field selection, pagination, and grouped AND/OR filters—ideal for JSON:API-style endpoints with minimal boilerplate. | 4,449 | 4,465 | 411 | 1M | 0 | 64.4 | 38.8 | MIT | 1 month ago |
How can I help you explore Laravel packages today?