tzk/sendinblue

A Laravel 5 (and Laravel 4) wrapper for the SendInBlue API PHP class (as provided by SendInBlue)
4,852
Install
composer require tzk/sendinblue
Latest Version:v2.0.1
PHP:>=5.4.0
License:MIT
Last Updated:Dec 15, 2020
Links: GitHub  ·  Packagist
Maintainer: TZK-

Sendinblue API w. support for Laravel

The package supports use with the Laravel framework v4.x or v5.x providing a SendinblueWrapper facade.


###Setup:

In order to install

composer require tzk/sendinblue

Within Laravel, locate the file ..config/app.php. Add the following to the providers array:

'providers' => array(
    …
    'Vansteen\Sendinblue\SendinblueServiceProvider',
    …
),

Furthermore, add the following the the aliases array:

'aliases' => array(
    …
    'SendinblueWrapper' => 'Vansteen\Sendinblue\Facades\SendinBlueWrapper',
    …
),

Run the command composer update.

Publish the configuration:

// Laravel v4.x
$ php artisan config:publish vansteen/sendinblue

// Laravel v5.x
$ php artisan vendor:publish

###Usage:

Your unique Sendinblue API key should be set in the package's config found in app/config/packages/vansteen/sendinblue/config.php (Laravel 4) config/sendinblue.php (Laravel 5)

Methods of the Sendinblue API class work as described by the Sendinblue API docs found Here. Thanks to Laravel's use of the "Facade" design pattern, all methods may be called in the following manner:

…
// Retrieve your account info
$account = SendinblueWrapper::get_account();
…

Related Packages

floriankaemo/sendinblue-wrapper

A Laravel 5 wrapper for the SendInBlue API PHP class (as provided by SendInBlue)

160 0
kinow-io/sendinblue-wrapper

A Laravel 5 wrapper for the SendInBlue API PHP class (as provided by SendInBlue)

1,114 1
vansteen/sendinblue

A Laravel 5 (and Laravel 4) wrapper for the SendInBlue API PHP class (as provide...

5,329 3
floriankaemo/sendinblue

A Laravel 5 wrapper for the SendInBlue API PHP class (as provided by SendInBlue)

0 0
kaishiyoku/laravel-sendinblue

Laravel's mail transport for SendinBlue

0 0