2017 © Pedro Peláez
 

library laravel5-twilio

An laravel5 twilio component decorator.

image

parfumix/laravel5-twilio

An laravel5 twilio component decorator.

  • Wednesday, April 8, 2015
  • by parfumix
  • Repository
  • 2 Watchers
  • 4 Stars
  • 880 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 5 Forks
  • 3 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel5-twilio

Join the chat at https://gitter.im/parfumix/laravel5-twilio, (*1)

Installation

Begin by installing this package through Composer. Run this command from the Terminal:, (*2)

    composer require parfumix/laravel5-twilio

Laravel integration

To wire this up in your Laravel project, you need to add the service provider. Open app/config/app.php, and add a new item to the providers array., (*3)

 'Twilio\Laravel5TwilioServiceProvider',

Then, add a Facade for more convenient usage. In app/config/app.php add the following line to the aliases array:, (*4)

'Twilio'    => 'Twilio\Facades\Twilio',

To add new connections just publish your config file using command and go to your config folder., (*5)

php artisan vendor:publish

Dont't forget to import facades to controllers.

Sending a SMS Message, (*6)

<?php

Use Twilio;

Twilio::sms('+18085551212', 'Message text');

Creating a Call, (*7)

<?php

Use Twilio;

Twilio::call('+18085551212', 'http://foo.com/call.xml');

License

laravel-twilio is open-sourced software licensed under the MIT license, (*8)

The Versions

08/04 2015

dev-master

9999999-dev https://github.com/parfumix/laravel5-twilio

An laravel5 twilio component decorator.

  Sources   Download

MIT

The Requires

 

laravel5 twilio

09/02 2015

v1.0

1.0.0.0 https://github.com/parfumix/laravel5-twilio

An laravel5 twilio component decorator.

  Sources   Download

MIT

The Requires

 

laravel5 twilio