1. Go to this page and download the library: Download ulthon/uri 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/ */
ulthon / uri example snippets
composer
use Ulthon\URI\URI;
$url = 'https://phpreturn.com/index/a6310ae8e7c561.html?name=john&[email protected]#fragment';
$uri = URI::make($url);
// 或者
$uri = new URI($url);