thungdemo / sms
Sms library with support for multiple sms providers
v1.0.1
2025-05-22 05:21 UTC
Requires
- php: >=8.0
- guzzlehttp/guzzle: ^7.9
This package is auto-updated.
Last update: 2026-03-22 07:11:58 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);