prodanv / smsc
There is no license information available for the latest version (dev-master) of this package.
Lib for smsc.ua
dev-master
2020-11-11 08:27 UTC
This package is auto-updated.
Last update: 2025-06-21 02:17:17 UTC
README
Lib for smsc.ua
This package provides a set of functions to use smsc.ua API.
Installation
Pull in the package using composer
composer require prodanv/smsc
Usage
use ProdanV\SMSc\SMSc; use ProdanV\SMSc\Message; $smsc = new SMSc('login', 'password'); // If you need logging you can use third param to pass logger $message = new Message('Hello world =)'); $message->from('Me')->to('+380123456789'); // Also can use array $smsc->send($message); // Also can use array of Message
Contributions
You are welcome to submit pull requests containing your own validation rules, however to be accepted, they must explain what they do, be useful to others, and include a suitable test to confirm they work correctly.