celusion / yii2-smsconnexion
Send SMS messages using SMSConneXion API with only one line of code. Sign up at www.smsconnexcion.com and start sending short messaging service messages to mobile phones across the world
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
This package is not auto-updated.
Last update: 2024-11-23 19:37:32 UTC
README
Send SMS messages using SMSConneXion API with only one line of code.
Sign up at www.smsconnexion.com and start sending short messaging service messages to mobile phones across the world
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist celusion/yii2-smsconnexion "*"
or add
"celusion/yii2-smsconnexion": "*"
to the require section of your composer.json
file.
Then, in your params.php
file add the following params:
'smsconnexionusername' => '<Username>', 'smsconnexionpassword' => '<YourPassword>',
Replace <Username>
and <YourPassword>
with the passwords you got after you signed up, of course!
Usage
Once the extension is installed, simply use it in your code by :
use celusion\smsconnexion\SMSConneXion; //This sends the SMS message hello world to the mobile phone number 1234567890 SMSConneXion::sendSMS('1234567890','hello world');