PHP code example of justinholtweb / craft-knox

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

sh
    php craft knox/sync/backfill --dry --limit=10
    
sh
php craft knox/sync/reconcile

*/15 * * * * php craft knox/payments/poll
0 3 * * *    php craft knox/sync/reconcile