tlapi/gosms

Sending messages via gosms.cz

v0.1.7 2021-04-02 07:02 UTC

This package is auto-updated.

Last update: 2023-01-30 10:37:22 UTC


README

Example

$sms = new \SMS\GoSMS("CLIENT", "SECRET");
$sms->authenticate();
$sms->setChannel(1);
$sms->setMessage('Test');
$sms->setRecipient('+420xxxyyyzzz');
$sms->setExpectedSendTime(new \DateTime('+1 hour', new \DateTimeZone('Europe/Prague')));
$sms->send();