PHP code example of justinholtweb / craft-weight

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

    

justinholtweb / craft-weight example snippets

sh
php craft weight/presets                       # list them
php craft weight/presets/import royal-mail-uk  # create its methods, disabled