PHP code example of ctf0 / helper-cmnds

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

    

ctf0 / helper-cmnds example snippets


    // app/Providers/EventServiceProvider.php
    public function boot()
    {
        parent::boot();

        Event::listen('clearAll.done', function () {
            // any other cmnds you want to run
        });
    }