bjrnblm / messagebird
A Messagebird bridge for laravel
Installs: 10 764
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 2
Open Issues: 1
Requires
- php: >=5.4.0
- illuminate/support: ~5.1
- messagebird/php-rest-api: ^1.1
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2020-10-05 15:29:37 UTC
README
MessageBird bridge for laravel
A quickly built Laravel bridge for the messagebird/php-rest-api
package. This is only used in a small personal project but feel free to use / improve.
Install
composer require bjrnblm/messagebird dev-master
Add the following your providers
in config/app.php
Bjrnblm\Messagebird\MessagebirdServiceProvider::class
Add the following your aliases
in config/app.php
'Messagebird' => Bjrnblm\Messagebird\Facades\Messagebird::class
Configuration
php artisan vendor:publish
Set your access_key
in config/messagebird.php
Usage
Get Balance
Messagebird::getBalance();
Create Message
Messagebird::createMessage($originator, $recipients = [], $body);
License
The MIT License (MIT). Please see License File for more information.