sgoendoer/esquery

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Building simple Elastic Search query objects

0.0.2 2016-04-19 14:59 UTC

This package is not auto-updated.

Last update: 2021-09-10 05:16:29 UTC


README

Elastic Search query for PHP

Setup

./composer require sgoendoer/esquery

or configure your composer.json accordingly

"require" : { "sgoendoer/esquery": "0.0.1" }

Usage

    use sgoendoer\esquery\ESQuery;
	use sgoendoer\esquery\ESQueryBuilder;
    
    $esq = (new ESQueryBuilder())->type($type)->build();