PHP code example of hd3d / change-default-sort-order

1. Go to this page and download the library: Download hd3d/change-default-sort-order 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/ */

    

hd3d / change-default-sort-order example snippets

sh
composer update hd3d/change-default-sort-order:"*"
php flarum migrate
php flarum cache:clear