dev-master
9999999-dev https://github.com/ianchadwick/dynmarkSend SMS using Dynmark - http://www.dynmark.com/
MIT
The Requires
- php >=5.4
- guzzlehttp/guzzle >=5.0
by Ian Chadwick
api sms
Wallogit.com
2017 © Pedro Peláez
Send SMS using Dynmark - http://www.dynmark.com/
Dynmark are leading providers of SMS and SMS intelligence services allowing you to make your SMS messaging smart., (*1)
This package allows you to send text messages using their API.See website, (*2)
PHP 5.4+, (*3)
Add ianchadwick/dynmark to the require part of your composer.json file, (*4)
"require": {
"ianchadwick/dynmark": "dev-master"
}
Then update your project with composer, (*5)
composer update
use Dynmark\Dynmark;
use Dynmark\Commands\Sms\Send;
class MyClass {
public function sendSms()
{
// init the Dynmark helper
$dynmark = new Dynmark('myusername', 'mypassword');
// create the command
$command = new Send($dynmark);
// set the text details
$command->setFrom('Ian')
->setPhone('0770000000')
->setText('Hello there!');
// send the text
$response = $command->fire();
}
}
Send SMS using Dynmark - http://www.dynmark.com/
MIT
api sms