fotografde / xi-sms
Short messaging for PHP 5.3
0.3.1
2025-03-19 12:18 UTC
Requires
- php: >=5.3.3
- kriswallsmith/buzz: ^1
- messagebird/php-rest-api: ~1.1
- symfony/event-dispatcher: ^6
- twilio/sdk: ^7.3.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2025-03-19 12:19:07 UTC
README
SMS library for PHP 5.3+.
Abstracts away the gateways. Just send'n go!
Pull requests are very welcome!
<?php use Xi\Sms\SmsService; use Xi\Sms\SmsMessage; use Xi\Sms\Gateway\MessageBirdGateway; $gw = new MessageBirdGateway('my_apikey'); $service = new SmsService($gw); $msg = new SmsMessage('message', 'sender', 'receiver_msisdn'); $service->send($msg);