1. Go to this page and download the library: Download xivapi/xivapi-php 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/ */
// The column to search on
$api->search->findColumn($column);
// the algorithm to use
$api->search->findAlgorithm($searchStringAlgorithm);
// the page to start on
$api->search->page($number);
// sorting order
$api->search->sort($field, $order);
// limit results
$api->search->limit($limit);
// columns in the results
$api->search->columns($columns);
// change elastics filter bool condition (eg: should, must, must_not)
$api->search->bool($bool);