New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

nidrax69/sendinblue

A Laravel 5/6 update wrapper for the SendInBlue API PHP class (as provided by SendInBlue)
2,388
Install
composer require nidrax69/sendinblue
Latest Version:0.0.3
PHP:>=5.4.0
Laravel:4 · 5 · 6
License:MIT
Last Updated:Aug 13, 2020
Links: GitHub  ·  Packagist
Maintainer: nidrax

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, add the following to your composer.json file within the require block:

"require": {
    …
    "nidrax69/sendinblue": "0.0.2"
    …
}

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

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

Furthermore, add the following the the aliases array:

'aliases' => array(
    …
    'SendinblueWrapper' => 'Nidrax69\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:

…
// send template
$ml = new SendinblueWrapper();
$return = $ml->send_transactional_template($data);
…

Related Packages

vansteen/laravel-sendinblue

A Laravel 5/6/7/8 service provider, facade and config file for the SendinBlue's...

127,066 18
tzk/sendinblue

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

4,852 0
mograine/laravel-sendinblue-template

A Laravel 7/8/9 service provider, facade and config file for the SendinBlue's AP...

1,430 0
kinow-io/sendinblue-wrapper

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

1,114 1
floriankaemo/sendinblue-wrapper

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

161 0

Version History

Version Released PHP Laravel License
0.0.3 >=5.4.0 4.*|5.*|6.* MIT
0.0.2 >=5.4.0 4.*|5.* MIT
0.0.1 >=5.4.0 4.*|5.* MIT