Skip to content

superfaktura/SmsManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Library for SmsManager.cz

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

About

SmsManager.cz implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages