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.
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
php artisan vendor:publish
Set your access_key
in config/messagebird.php
Messagebird::getBalance();
Messagebird::createMessage($originator, $recipients = [], $body);
The MIT License (MIT). Please see License File for more information.