hnhdigital-os/laravel-twilio

Provides Twilio services in Laravel.

1.0.0 2019-02-04 05:19 UTC

This package is auto-updated.

Last update: 2024-04-05 17:43:03 UTC


README

 _________              _   __    _          
|  _   _  |            (_) [  |  (_)         
|_/ | | \_|_   _   __  __   | |  __   .--.   
    | |   [ \ [ \ [  ][  |  | | [  |/ .'`\ \ 
   _| |_   \ \/\ \/ /  | |  | |  | || \__. | 
  |_____|   \__/\__/  [___][___][___]'.__.'  
                                             

Provides the Twilio services to Laravel.

Latest Stable Version Total Downloads Latest Unstable Version Built for Laravel License

Build Status StyleCI Test Coverage Issue Count Code Climate

This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.

#f03c15 Currently only implements messaging.

Install

Via composer:

$ composer require hnhdigital-os/laravel-twilio

Enable the facade by editing config/app.php:

    'aliases' => [
        ...
        'Sms' => Bluora\LaravelTwilio\SmsFacade::class,
        ...
    ];

Configuration

Config is published to config/hnhdigital/twilio.php and the following environment variables can be provided for each service:

Messaging

Set TWILIO_MESSAGING_SID or TWILIO_MESSAGING_DEFAULT_NUMBER but not both.

TWILIO_ACCOUNT_SID=
TWILIO_ACCOUNT_TOKEN=
TWILIO_MESSAGING_SID=
TWILIO_MESSAGING_DEFAULT_NUMBER=
TWILIO_MESSAGING_STATUS_CALLBACK=

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.