PHP code example of ignatenkovnikita / yii2-user-device

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

    

ignatenkovnikita / yii2-user-device example snippets


'modules' => [
    ...
    'user-device' => [
        'class' => \ignatenkovnikita\device\UserDevice::class
    ],
    ...
],

<?= \ignatenkovnikita\device\AutoloadExample::widget(); 

php composer.phar