Skip to content

stee1cat/php-sms

Repository files navigation

A PHP library to send messages via SMS gates

Examle

use stee1cat\PhpSms\GateFactory;
use stee1cat\PhpSms\Message;

$sender = GateFactory::create('SmsAero');

$sender->setUser('<login>');
$sender->setPassword('<password>');

$message = new Message();
$message->setTo('75551234567');
$message->setFrom('php-sms');
$message->setText('Message');

$sender->setMessage($message);
$sender->send();

Available agents

About

A PHP library to send messages via SMS gates

Resources

Stars

Watchers

Forks

Packages

No packages published