Looking to hire Laravel developers? Try LaraJobs

laravel-sms-gateway-vonage maintained by misaf

Description
Vonage SMS gateway driver for Laravel.
Last update
2026/07/04 11:55 (dev-master)
License
Downloads
1

Comments
comments powered by Disqus

Laravel SMS Gateway Vonage Driver

Vonage SMS gateway driver for misaf/laravel-sms-gateway.

Installation

composer require misaf/laravel-sms-gateway-vonage

Laravel package discovery registers the driver service provider automatically.

Configuration

SMS_GATEWAY_DRIVER=vonage
SMS_GATEWAY_VONAGE_APIKEY=your-api-key
SMS_GATEWAY_VONAGE_API_SECRET=your-api-secret
// config/services.php
'vonage' => [
    'api_key'    => env('SMS_GATEWAY_VONAGE_APIKEY'),
    'api_secret' => env('SMS_GATEWAY_VONAGE_API_SECRET'),
],

Usage

use Misaf\LaravelSmsGateway\Facade\SmsGateway;

$response = SmsGateway::driver('vonage')->send([
    'to'   => '15551234567',
    'from' => 'Example',
    'text' => 'Hello',
]);

The payload is passed directly to Vonage, so use the fields expected by the Vonage API.

Use request() when you need direct access to Laravel's HTTP client:

$request = SmsGateway::driver('vonage')->request();

Testing

composer test
composer analyse

License

MIT