PHPackages                             mamadali/yii2-speed-test - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mamadali/yii2-speed-test

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

mamadali/yii2-speed-test
========================

Test Internet conection Widget

1.01(5y ago)01LGPL-3.0+PHP

Since Feb 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/MamadAliGit/yii2-speed-test)[ Packagist](https://packagist.org/packages/mamadali/yii2-speed-test)[ RSS](/packages/mamadali-yii2-speed-test/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Yii2 Internet Speed Test
========================

[](#yii2-internet-speed-test)

Test Internet conection Widget
------------------------------

[](#test-internet-conection-widget)

[php source code](https://github.com/librespeed/speedtest)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require mamadali/yii2-speed-test "*"

```

or add

```
"mamadali/yii2-speed-test": "*"

```

to the require section of your `composer.json` file. and run this command

```
composer update

```

Usage
-----

[](#usage)

First add this code to config file

```
    'modules' => [
        ...
    	'speed-test' => [
    		'class' => 'mamadali\speedtest\Module',
                'ipinfo_api_key' => // your api key from ipinfo.io,
	],
        ...
    ]

```

And run this command

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

```

Once the extension is installed, simply use it in your code by :

```
