New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

parfumix/laravel5-twilio

An laravel5 twilio component decorator.
892 4
Install
composer require parfumix/laravel5-twilio
Latest Version:v1.0
PHP:>=5.4.0
Laravel:5
License:MIT
Last Updated:Feb 22, 2017
Links: GitHub  ·  Packagist
Maintainer: parfumix

Laravel5-twilio

Join the chat at https://gitter.im/parfumix/laravel5-twilio

Installation

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

    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.

 'Twilio\Laravel5TwilioServiceProvider',

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

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

To add new connections just publish your config file using command and go to your config folder.

php artisan vendor:publish

Dont't forget to import facades to controllers.

Sending a SMS Message

<?php

Use Twilio;

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

Creating a Call

<?php

Use Twilio;

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

License

laravel-twilio is open-sourced software licensed under the MIT license

Related Packages

hmazter/laravel-log-queue

Laravel 5+ package to push Queued jobs to the log

12,516 5
devfactory/minify

A package for minifying styles and javascript for laravel 5

409,221 82
babdev/laravel-twilio

Twilio SDK integration for Laravel

3,768 0
ajtarragona/tsystems-client

Client per serveis de l'ERP de Tsystems (Tercers, Padró, Vialer)

1,047 0
ricardosierra/minify

A package for minifying styles and javascript for laravel 5

1,003 1

Version History

Version Released PHP Laravel License
v1.0 >=5.4.0 5.0.* MIT