thungdemo / sms
Sms library with support for multiple sms providers
Installs: 0
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/thungdemo/sms
Requires
- php: >=8.0
- guzzlehttp/guzzle: ^7.9
This package is auto-updated.
Last update: 2025-11-22 06:21:30 UTC
README
Sms library with support for multiple sms providers
Installation
Run composer
composer require thungdemo\sms
Usage
use Thungdemo\Sms\Drivers\Textlocal; use Thungdemo\Sms\Client; use Thungdemo\Sms\Message; $config = [ 'apikey' => 'your_api_key', 'sender' => 'SENDER', ]; $driver = new Textlocal($config); $client = new Client($driver); $message = new Message(); $message->setMessage('Hello world'); $message->setRecipient('1234567890'); $client->send($message);