PHP code example of mamadali / yii2-speed-test

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

    

mamadali / yii2-speed-test example snippets


<?= \mamadali\speedtest\SpeedTestWidget::widget([
    	'title' => 'Internet speed test',
    ]) 

php yii migrate/up --migrationPath=@vendor/mamadali/yii2-speed-test/migrations