dev-master
9999999-devA Laravel 5 wrapper for the SendInBlue API PHP class (as provided by SendInBlue)
MIT
The Requires
by Florian Bouchet
laravel sendinblue
Wallogit.com
2017 © Pedro Peláez
A Laravel 5 wrapper for the SendInBlue API PHP class (as provided by SendInBlue)
The package supports use with Laravel 5 providing a SendinblueWrapper facade., (*1)
Just run composer require floriankaemo/sendinblue-wrapper, (*2)
In order to install, add the following to your composer.json file within the require block:, (*3)
"require": {
…
"floriankaemo/sendinblue-wrapper": "dev-master"
…
}
Within Laravel, locate the file config/app.php.
Add the following to the providers array:, (*4)
'providers' => [
…
\Floriankaemo\Sendinblue\SendinblueServiceProvider::class,
],
Furthermore, add the following the the aliases array:, (*5)
'aliases' => [
…
'SendinblueWrapper' => 'Floriankaemo\Sendinblue\Facades\SendinBlueWrapper',
],
Run the command composer update., (*6)
// Laravel 5 $ php artisan vendor:publish
Your unique Sendinblue API key should be set in your .env file as SENDINBLUE_KEY., (*7)
Methods of the Sendinblue API class work as described by the Sendinblue API docs found [Here][2]. Thanks to Laravel's use of the "Facade" design pattern, all methods may be called in the following manner:, (*8)
… // Retrieve your account info $account = SendinblueWrapper::get_account(); …
Project forked from vansteen/sendinblue, (*9)
A Laravel 5 wrapper for the SendInBlue API PHP class (as provided by SendInBlue)
MIT
laravel sendinblue