New

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

kinow-io/sendinblue-wrapper

A Laravel 5 wrapper for the SendInBlue API PHP class (as provided by SendInBlue)
1,114 1
Install
composer require kinow-io/sendinblue-wrapper
Latest Version:v1.0.0
PHP:>=7.0
Laravel:5
License:MIT
Last Updated:Aug 30, 2017
Links: GitHub  ·  Packagist
Maintainer: kinow-io

Sendinblue API with support for Laravel

The package supports use with Laravel 5 providing a SendinblueWrapper facade.

Installation:

First method

Just run composer require kinow-io/sendinblue-wrapper

Second method

In order to install, add the following to your composer.json file within the require block:

"require": {
    …
    "kinow-io/sendinblue-wrapper": "dev-master"
    …
}

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

'providers' => [
    …
    \Kinow\Sendinblue\SendinblueServiceProvider::class,
],

Furthermore, add the following the the aliases array:

'aliases' => [
    …
    'SendinblueWrapper' => 'Kinow\Sendinblue\Facades\SendinBlueWrapper',
],

Run the command composer update.

Publish the configuration:

// Laravel 5
$ php artisan vendor:publish

Usage:

Your unique Sendinblue API key should be set in your .env file as SENDINBLUE_KEY.

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

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
nidrax69/sendinblue

A Laravel 5/6 update wrapper for the SendInBlue API PHP class (as provided by Se...

2,388 0
mograine/laravel-sendinblue-template

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

1,430 0
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
v1.0.0 >=7.0 ~5.0 MIT