PHP code example of wooze / es

1. Go to this page and download the library: Download wooze/es library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wooze / es example snippets


$ php artisan vendor:publish --provider=Wooze\Es\ServiceProvider

$builder = new Wooze\Es\SearchBuilders($key, $fields);

$builder->asc($field)
$builder->desc($field)

$builder->range($field, $operation, $value)