verifiedit / clicksend-sms
Clicksend SMS API SDK
Installs: 3 196
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=8.0
- guzzlehttp/guzzle: ^7.4
- illuminate/collections: ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Enables sending of SMS messages through Clicksend.
Based on official Clicksend API documentation https://developers.clicksend.com/docs/rest/v3/?shell#send-sms
Installation
composer install verifiedit/clicksend-sms
Example
$messages = new \Verifiedit\ClicksendSms\SMS\Messages(); $messages->add((new \Verifiedit\ClicksendSms\SMS\Message('Test'))->setTo('+61411111111')); $client = \Verifiedit\ClicksendSms\ClicksendClient::make('myaccount@example.com', 'secret') $sms = new \Verifiedit\ClicksendSms\SMS\SMS($client); $response = $sms->send($messages);