superfaktura / smsmanager
Module for API communication with SMSmanager.cz
dev-master
2018-05-16 12:26 UTC
Requires
- php: >=5.6.0
- ext-curl: *
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is not auto-updated.
Last update: 2025-03-30 05:19:43 UTC
README
Installation
Install superfaktura/smsmanager using Composer:
$ composer require superfaktura/smsmanager
Dependencies
- PHP >=5.6
- PHP extensions: php_curl
Example Usage
use Po1nt\SmsManager\Dispatcher; use Po1nt\SmsManager\Message; use Po1nt\SmsManager\Recipient; /** @var Recipient $recipient */ $recipient = new Recipient('420 900 123 456'); /** @var Message $message */ $message = new Message('Best message text ever'); $message->addRecipient($recipient); /** @var Dispatcher $dispatcher */ $dispatcher = new Dispatcher('example@smsmanager.cz', 'examplePass'); print_r($dispatcher->send($message));
License
MIT