PHP code example of aaronheath / laravel-speed-test

1. Go to this page and download the library: Download aaronheath/laravel-speed-test 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/ */

    

aaronheath / laravel-speed-test example snippets


dispatch(new Heath\BandwidthCheck\BandwidthCheckJob);

(new Heath\BandwidthCheck\BandwidthCheck)->run();

(new Heath\BandwidthCheck\BandwidthCheck)->isEnabled(); // bool
bash
php artisan vendor:publish
bash
php artisan bandwidth-check:run