-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3e1996
commit 7a6e65b
Showing
1 changed file
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
# Laravel and Twilio Integration | ||
Twilio Integration for Laravel | ||
|
||
## Introduction | ||
|
||
## Installation | ||
|
||
|
||
## Installation | ||
Require this package in your `composer.json` and update composer. | ||
|
||
```php | ||
"coloredcow/laravel-twilio": "1.0.*" | ||
``` | ||
|
||
After updating composer, add the ServiceProvider to the providers array in `config/app.php` | ||
|
||
```php | ||
ColoredCow\Twilio\Providers\SmsServiceProvider::class, | ||
ColoredCow\Twilio\Providers\VoiceServiceProvider::class, | ||
``` | ||
|
||
You can use the facade for shorter code. Add this to your aliases: | ||
|
||
```php | ||
'Sms' => ColoredCow\Twilio\Facades\Sms::class, | ||
'Voice' => ColoredCow\Twilio\Facades\Voice::class, | ||
``` |