PHP code example of makoru-hikage / quesos

1. Go to this page and download the library: Download makoru-hikage/quesos 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/ */

    

makoru-hikage / quesos example snippets


https://www.yoursite.com/contacts/?sex=female&points=gt,9000&first_name=Aida,Lorna,Fe&age=bwn,21,35

$rawQueryStr = $_SERVER['QUERY_STRING'];
$parsedUrlQuery = array();

parse_str($rawQueryStr, $parsedUrlQuery);

print_r($parsedUrlQuery, true);

$test = new QueryStringConverter($parsedUrlQuery);

$finishedProduct = $test->convert();

print_r($finishedProduct, true);