hnhdigital-os / laravel-twilio
Provides Twilio services in Laravel.
1.0.0
2019-02-04 05:19 UTC
Requires
- php: >=5.6.0
- twilio/sdk: ^5.7
Requires (Dev)
- phpmd/phpmd: ~2.0
- phpunit/phpunit: ^7.0
- squizlabs/php_codesniffer: ~3.0
- symfony/thanks: *
This package is auto-updated.
Last update: 2024-11-05 18:52:04 UTC
README
_________ _ __ _
| _ _ | (_) [ | (_)
|_/ | | \_|_ _ __ __ | | __ .--.
| | [ \ [ \ [ ][ | | | [ |/ .'`\ \
_| |_ \ \/\ \/ / | | | | | || \__. |
|_____| \__/\__/ [___][___][___]'.__.'
Provides the Twilio services to Laravel.
This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.
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.