PHP code example of splx / helperurl

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

    

splx / helperurl example snippets


         function Debug($obj){
            echo '<pre>';
            print_r($obj);
            echo '</pre>';
        }
        

            $url = new splx\helperurl\HelperURL;
            Debug($url->getCurPageURL());