dev-master
9999999-devUser Device Manager
MIT
The Requires
user extension yii2 module device
User Device Manager
User Device Manager, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist ignatenkovnikita/yii2-user-device "*"
or add, (*4)
"ignatenkovnikita/yii2-user-device": "*"
to the require section of your composer.json
file., (*5)
Run migration, (*6)
./console/yii migrate --migrationPath=vendor/ignatenkovnikita/yii2-user-device/migrations/
Add in config section module, (*7)
'modules' => [ ... 'user-device' => [ 'class' => \ignatenkovnikita\device\UserDevice::class ], ... ],
Once the extension is installed, simply use it in your code by :, (*8)
php
<?= \ignatenkovnikita\device\AutoloadExample::widget(); ?>
, (*9)
User Device Manager
MIT
user extension yii2 module device