PHP code example of huoxin / relative-url

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

    

huoxin / relative-url example snippets

sh
composer update huoxin/relative-url:"*"
php flarum migrate
php flarum cache:clear