From 7a6e65b1d5e6e681d6a25a7d52604cb4e3d7e483 Mon Sep 17 00:00:00 2001 From: coloredcow Date: Tue, 14 Jun 2016 18:00:17 +0530 Subject: [PATCH] Update Readme --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c0a6197..d78526f 100644 --- a/README.md +++ b/README.md @@ -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, +```