Download the PHP package jackardios/elastic-query-wizard without Composer

On this page you can find all versions of the php package jackardios/elastic-query-wizard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package elastic-query-wizard

Elastic Query Wizard

Latest Version on Packagist License
CI

A powerful Laravel package for building Elasticsearch queries with JSON:API style filtering, sorting, and relation loading. Built on top of laravel-query-wizard and es-scout-driver.

Table of Contents

Features

Requirements

Installation

Make sure your model uses the Searchable trait from es-scout-driver:

Quick Start

Basic Example

Documentation

Detailed documentation for each section:

Section Description
Filters All filter types: term, match, range, geo, fuzzy, and more
Sorts Sorting by fields, geography, and scripts
Includes Loading Eloquent relations after Elasticsearch query
Advanced Usage Resource schemas, custom filters, aggregations, working with SearchBuilder
ES Compatibility Elasticsearch 8.x/9.x differences and migration guide

Resource Schemas

For larger applications, use Resource Schemas to centralize query configuration in reusable classes:

Using Schemas

See Advanced Usage for full schema documentation including context-aware schemas, wildcard support, and all available methods.

Usage Examples

Advanced SearchBuilder DSL

Geo Filtering

Full-text Search

Date Range Filtering

Autocomplete Search (Prefix)

Typo-tolerant Search (Fuzzy)

Field Selection

By default, resource is the model class basename in camelCase (for Post it is post). If you use forSchema(), it uses schema type().

Using Aliases

Aliases allow you to use different parameter names in your API:

Default Sorting

Working with Soft Deletes

Filter Groups

Filter groups allow you to create complex query structures with OR/AND logic or query nested documents.

Bool Group (OR Logic)

Nested Group (Nested Documents)

See Filter Groups for more options including innerHits, nested groups, and complex boolean logic.

Query Parameter Format

The package uses a standardized JSON:API style parameter format:

Parameter Format Example
Filters filter[field]=value ?filter[status]=active
Sorting sort=field or sort=-field ?sort=-created_at
Includes include=relation1,relation2 ?include=author,comments
Fields fields[resource]=field1,field2 ?fields[post]=id,title
Appends append=accessor1,accessor2 ?append=full_name

Elasticsearch Version Compatibility

This package supports both Elasticsearch 8.x and 9.x. The package handles most version differences internally, but there are some ES 9.x breaking changes to be aware of:

Feature ES 9.x Status
force_source highlighting Removed
Boolean histogram aggregation Removed (use terms)
random_score default field Changed to _seq_no

For full details, migration guide, and safe usage examples, see Elasticsearch Compatibility.

Testing

License

MIT License. See LICENSE file for details.


All versions of elastic-query-wizard with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
jackardios/elastic-scout-driver-plus Version ^v4.0.0
jackardios/laravel-query-wizard Version ^v2.0.2
laravel/framework Version ^v10.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jackardios/elastic-query-wizard contains the following files

Loading the files please wait ...