ignatenkovnikita / yii2-gsm-info
Client for gsm info
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-10-29 04:20:05 UTC
README
Client for gsm info
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist ignatenkovnikita/yii2-gsm-info "*"
or add
"ignatenkovnikita/yii2-gsm-info": "*"
to the require section of your composer.json
file.
Usage
Add this to your main configuration's components array:
'gsmInfo' => [ 'class' => \ignatenkovnikita\refillmobile\ClientGsmInfo::className(), 'url' => your_url, 'user' => your_user, 'pass' => your_pass, ],
Typical component usage
Yii::$app->gsmInfo->getInfo(7 your_phone); Yii::$app->gsmInfo->getRegion(7 your_phone);