LaravelPackages.net
Acme Inc.
Toggle sidebar
reedware/laravel-sms-twilio

Adds the ability to send text messages using Twilio.

193
0
v1.0.0
About reedware/laravel-sms-twilio

reedware/laravel-sms-twilio is a Laravel package for adds the ability to send text messages using twilio.. It currently has 0 GitHub stars and 193 downloads on Packagist (latest version v1.0.0). Install it with composer require reedware/laravel-sms-twilio. Discover more Laravel packages by reedware or browse all Laravel packages to compare alternatives.

Last updated

Laravel SMS Twilio

Latest Stable Version Build Status

Introduction

This package SMS integrates with Twilio using the Laravel SMS package.

Installation

You may install this package using composer:

composer require reedware/laravel-sms-twilio

If you haven't already, you should then follow the Installation guide for Laravel SMS.

Set the default option in your config/sms.php configuration file to twilio (or leverage an environment variable). Next, verify that your twilio provider configuration file contains the following options:

'your-driver-name' => [
    'transport' => 'twilio',
    'account_sid' => 'your-twilio-account-sid',
    'auth_token' => 'your-twilio-auth-token'
],

If you are not using the "US" Twilio region, you may define your region id in the provider configuration:

'your-driver-name' => [
    'transport' => 'twilio',
    'account_sid' => 'your-twilio-account-sid',
    'auth_token' => 'your-twilio-auth-token',
    'region' => 'sg1' // singapore
],

Additionally, ssl host and peer verification is disabled by default. To enable this, you may include the verify flag in the provider configuration:

'your-driver-name' => [
    'transport' => 'twilio',
    'account_sid' => 'your-twilio-account-sid',
    'auth_token' => 'your-twilio-auth-token',
    'verify' => true
],

Once the sms provider has been configured, you can then start sending text messages using Twilio. To get started and view examples, refer to the Laravel SMS documentation.

Star History Chart