2017 © Pedro Peláez
 

library sendinblue

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

image

nidrax69/sendinblue

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

  • Wednesday, May 23, 2018
  • by nidrax
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 67 % Grown

The README.md

Sendinblue API w. support for Laravel

The package supports use with the Laravel framework v4.x or v5.x providing a SendinblueWrapper facade., (*1)


Setup:

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

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

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

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

Furthermore, add the following the the aliases array:, (*4)

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

Run the command composer update., (*5)

Publish the configuration:, (*6)

// 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), (*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)

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

The Versions

23/05 2018

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

by Vincent FLORIOT

laravel sendinblue

23/05 2018

0.0.2

0.0.2.0

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

  Sources   Download

MIT

The Requires

 

by Vincent FLORIOT

laravel sendinblue

23/05 2018

0.0.1

0.0.1.0

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

  Sources   Download

MIT

The Requires

 

by Vincent FLORIOT

laravel sendinblue

18/05 2018

dev-fork

dev-fork

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

  Sources   Download

MIT

The Requires

 

laravel sendinblue