PHP code example of sellerlabs / quip
1. Go to this page and download the library: Download sellerlabs/quip 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/ */
sellerlabs / quip example snippets
$query = 'q=age<19,gender=male&embeds=snags.offers&ncludes();
// ['age', 'gender']
$quip->getExcludes();
// ['whatever']
$quip->getSorts();
// Array of sort objects, with type (ascending/descending) and field to sort on
$quip->getEmbeds();
// Array of EmbedChain objects, which house sorted arrays of parsed `x.y` strings
$quip->getExpressions();
// Returns expressions (left-hand-side, right-hand-side and operator) from the `q` parameter