laravel-sms-gateway-plivo maintained by misaf
Description
Plivo SMS gateway driver for Laravel.
Author
Last update
2026/07/04 11:53
(dev-master)
License
Downloads
1
Tags
sms - laravel - plivo - sms-gateway - laravel-package - sms-api - sms-provider - sms-driver - plivo-sms
Laravel SMS Gateway Plivo Driver
Plivo SMS gateway driver for misaf/laravel-sms-gateway.
Installation
composer require misaf/laravel-sms-gateway-plivo
Laravel package discovery registers the driver service provider automatically.
Configuration
SMS_GATEWAY_DRIVER=plivo
SMS_GATEWAY_PLIVO_AUTH_ID=your-auth-id
SMS_GATEWAY_PLIVO_AUTH_TOKEN=your-auth-token
// config/services.php
'plivo' => [
'auth_id' => env('SMS_GATEWAY_PLIVO_AUTH_ID'),
'auth_token' => env('SMS_GATEWAY_PLIVO_AUTH_TOKEN'),
],
Usage
use Misaf\LaravelSmsGateway\Facade\SmsGateway;
$response = SmsGateway::driver('plivo')->send([
'dst' => '09123456789',
'text' => 'Hello',
]);
The payload is passed directly to Plivo, so use the fields expected by the Plivo API.
Use request() when you need direct access to Laravel's HTTP client:
$request = SmsGateway::driver('plivo')->request();
Testing
composer test
composer analyse
License
MIT