omgdef / unisender-wrapper
Unisender API wrapper
Installs: 32 346
Dependents: 2
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 1
Open Issues: 0
README
UniSender API wrapper
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist omgdef/unisender-wrapper "dev-master"
or add
"omgdef/unisender-wrapper": "dev-master"
to the require section of your composer.json
file.
Properties
Usage
Once the extension is installed, simply use it in your code by :
$obj = new \omgdef\unisender\UniSenderWrapper(); $obj->testMode = true; $obj->apiKey = 'some_key_here'; $response = $obj->sendSms(['phone' => '123123123', 'text' => 'text']);