PHPackages                             2hmad/laravel-twilio - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. 2hmad/laravel-twilio

ActiveLibrary[API Development](/categories/api)

2hmad/laravel-twilio
====================

Laravel with Twilio Integration

1.0.2(4y ago)192MITPHP

Since Mar 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/2hmad/Laravel-Twilio)[ Packagist](https://packagist.org/packages/2hmad/laravel-twilio)[ RSS](/packages/2hmad-laravel-twilio/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Laravel Twilio
==============

[](#laravel-twilio)

Laravel with Twilio Integration

[![GitHub forks](https://camo.githubusercontent.com/e202c041124698ebaf6850bd60f87022c4167f876de68a1791a18e10fc21f78c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f32686d61642f6c61726176656c2d7477696c696f)](https://github.com/2hmad/Laravel-Twilio/network)[![GitHub stars](https://camo.githubusercontent.com/9156faf8e06cef3944809ca7098c2a3296be9095455f4a7ebbc5786c909ef1b2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f32686d61642f4c61726176656c2d5477696c696f)](https://github.com/2hmad/Laravel-Twilio/stargazers)[![GitHub license](https://camo.githubusercontent.com/c9fafd8fbf7cb192303200e01a101b8a76c51b1f3829619a08739399ebd276bd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f32686d61642f4c61726176656c2d5477696c696f)](https://github.com/2hmad/Laravel-Twilio/blob/master/LICENSE.md)

Installation
------------

[](#installation)

Begin by installing this package through Composer. Run this command from the Terminal:

```
composer require 2hmad/laravel-twilio
```

Configurations
--------------

[](#configurations)

to publish the config file, run:

`php artisan vendor:publish --tag=laraveltwilio-config`

This is the content of the config file that will be published at `config/laraveltwilio.php`

Next, edit your `.env` file with your Twilio Credentials

```
TWILIO_ACCOUNT_SID=xxxx
TWILIO_AUTH_TOKEN=xxxx
TWILIO_SMS_FROM=xxxx
```

### Usage

[](#usage)

To send a SMS message, you can use the `notify()` method available on the `LaravelTwilio` Facade

```
