spatie/elasticsearch-query-builder
A lightweight, fluent PHP API for building and executing ElasticSearch queries. Chain queries and aggregations, then call search(). Built for Spatie's search-string-parser but flexible enough to cover most common use cases.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/query-string | 0.91 | Manipulate URLs by building and updating query strings in PHP. Toggle parameters or values, add JSON:API-style filters and sorts, and manage pagination. Useful for generating links and keeping state in apps without manual query parsing. | 161 | 162 | 9 | 19K | 0 | 2.0 | 28.8 | MIT | 5 years ago | |
| spatie/schema-org | 0.90 | spatie/schema-org is a fluent PHP builder for all Schema.org types and properties, generated from the official vocabulary. Chain methods to construct structured data and output valid ld+json script tags for rich search results. | 1,509 | 1,530 | 145 | 548K | 0 | 40.5 | 41.0 | MIT | 1 month ago | |
| spatie/elasticsearch-search-string-parser | 0.90 | Convert custom search strings like "foo bar status:active @john.doe" into ElasticSearch requests. Add directives via regex and the spatie/elasticsearch-query-builder, with grouping and autocomplete suggestions. | 51 | 51 | 4 | 227 | 0 | 14.8 | 11.1 | MIT | 5 months ago | |
| spatie/googlesearch | 0.89 | Fetch search results from a paid Google Custom Search Engine in PHP/Laravel. Includes service provider, facade, and configurable API key/CSE ID setup to return results as an array for easy integration into your app. | 81 | 62 | 29 | 0 | 0 | 1.7 | — | MIT | 10 years ago | |
| spatie/url | 0.89 | Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. | 738 | 751 | 59 | 679K | 0 | 12.5 | 41.0 | MIT | 2 years ago | |
| spatie/visit | 0.88 | Human-friendly curl for the terminal. Visit any URL and display its response with colorized output (HTML via bat, JSON via jq), plus status code and response time. Supports custom HTTP methods and options like following redirects. | 390 | 390 | 14 | 2 | 0 | 7.5 | 0.0 | — | 1 year ago | |
| spatie/db-dumper | 0.88 | Spatie's PHP package for dumping databases via a clean, fluent API. Supports MySQL, MariaDB, PostgreSQL, SQLite, and MongoDB, wrapping mysqldump, pg_dump, sqlite3, and mongodump behind one consistent interface. | 1,180 | 1,201 | 158 | 2M | 0 | 29.8 | 49.2 | MIT | 6 months 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. | 436 | 444 | 49 | 9 | 0 | 7.9 | 0.1 | MIT | 8 years ago | |
| spatie/regex | 0.88 | Cleaner, safer wrapper around PHP’s preg_* functions. Provides Regex::match/matchAll/replace with MatchResult objects, easy access to groups, sensible defaults, and callback-based replacements—no by-reference variables or confusing false/null error handling. | 1,121 | 1,133 | 49 | 2M | 0 | 11.6 | 43.8 | MIT | 4 years ago | |
| spatie/typed | 0.88 | Userland improved PHP type system with type inference and runtime checking: generics, union types, typed collections/lists, tuples, and structs. Proof-of-concept package from Spatie to add stronger type guarantees without language-level support. | 316 | 317 | 15 | 18 | 0 | 1.9 | 0.2 | MIT | 5 years ago | |
| spatie/eloquent-sortable | 0.88 | Add sortable behavior to Laravel Eloquent models via a trait. Automatically sets an order column on create (max + 1) and provides a scope to retrieve records in the correct order. Ideal for drag-and-drop lists and custom ordering. | 1,517 | 1,529 | 138 | 2M | 0 | 26.9 | 44.2 | MIT | 8 months ago | |
| erichard/elasticsearch-query-builder | 0.88 | A fluent PHP query builder for Elasticsearch that lets you construct complex search queries through an elegant, chainable API instead of hand-writing JSON. A good fit for Laravel and standalone PHP projects that need readable, maintainable Elasticsearch DSL. | 39 | — | 21 | — | 2 | 1.2 | — | MIT | 2 years ago |
|
| spatie/crawler | 0.87 | A powerful PHP package for crawling websites, using Guzzle promises to fetch multiple URLs concurrently. It can render JavaScript via Chrome and Puppeteer, restrict crawls to internal links or depth, collect found URLs, and fake HTTP responses for testing crawl logic. | 2,829 | 2,843 | 368 | 1M | 0 | 52.5 | 41.5 | MIT | 3 months ago | |
| open-dxp/elasticsearch-client-bundle | 0.87 | A PHP bundle that integrates the Elasticsearch client into your application, offering ready-made configuration, service registration, and convenient access for indexing, searching, and querying documents with minimal boilerplate. It simplifies connecting to Elasticsearch clusters and adding search c... | 0 | — | 0 | — | 0 | 20.0 | — | NOASSERTION | 1 week ago | |
| symfony/ai-elasticsearch-store | 0.87 | Elasticsearch vector store integration for Symfony AI Store, adding kNN search and dense_vector support so your Symfony AI apps can store and query embeddings directly in Elasticsearch. | 4 | 4 | 0 | 386 | 0 | 23.1 | 30.7 | MIT | 1 week ago | |
| basemkhirat/elasticsearch | 0.87 | A Laravel package for working with Elasticsearch through a fluent query builder. It supports multiple connections, indices and documents, CRUD operations, bulk indexing, aggregations, and Eloquent-style models, simplifying search integration. | 395 | 404 | 123 | 697 | 58 | 22.7 | 28.8 | MIT | 6 years ago | |
| jolicode/elastically | 0.87 | jolicode/elastically is an elegant Elasticsearch client for PHP. It simplifies index management, document indexing, and query building with a fluent API, making search integration cleaner and more maintainable in Symfony and other PHP applications. | 257 | — | 43 | — | 0 | 20.4 | — | MIT | 1 month ago |
|
| handcraftedinthealps/elasticsearch-dsl | 0.87 | A fork of ongr/elasticsearch-dsl for building Elasticsearch queries in PHP with a fluent DSL. It extends support to a wider range of Symfony (3.4 through 7.x) and Elasticsearch versions, and powers the handcraftedinthealps Elasticsearch bundle. | 21 | 21 | 18 | 83K | 3 | 7.0 | 50.4 | MIT | 1 year ago | |
| spatie/laravel-query-builder | 0.86 | Spatie's Laravel Query Builder turns incoming API request parameters into Eloquent queries, letting you define allowed filters, sorts, includes, and pagination so clients can shape responses through the URL without exposing dangerous query logic. | 4,469 | 4,488 | 422 | 2M | 0 | 67.2 | 43.7 | MIT | 1 week ago | |
| elasticsearch/elasticsearch | 0.86 | This is the official PHP client for Elasticsearch, offering 500+ endpoints for indexing, searching, and deleting documents. Install it via Composer to connect your PHP app to Elasticsearch and Kibana, with comprehensive API coverage and built-in mocking support. | 5,333 | 5,515 | 961 | 3M | 12 | 69.4 | 51.3 | MIT | 3 months ago |
How can I help you explore Laravel packages today?