PHP code example of ralphschindler / basic-query-filter
1. Go to this page and download the library: Download ralphschindler/basic-query-filter 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/ */
ralphschindler / basic-query-filter example snippets
$parseTree = (new QueryFilter\Parser)->parse($filter);
foreach ($parseTree->getPredicates() as $predicateInfo) {
list($combinedBy, $predicate) = $predicateInfo;
// ...
}