1. Go to this page and download the library: Download mrcnpdlk/url-search-parser 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/ */
mrcnpdlk / url-search-parser example snippets
$oParser = new \Mrcnpdlk\Lib\UrlQueryParser\RequestParser($query);
// Two ways to get `query` argument for RequestParser constructor:
$query = parse_url($url, PHP_URL_QUERY); // OR
$query = $_SERVER['QUERY_STRING'];
$oParser = new \Mrcnpdlk\Lib\UrlQueryParser\RequestParser($query);