2017 © Pedro Peláez
 

library sendinblue-laravel5

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

image

guillaumefauconnet/sendinblue-laravel5

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

  • Wednesday, May 2, 2018
  • by guillaumefauconnet
  • Repository
  • 0 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % 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": {
    …
    "guillaumefauconnet/sendinblue-laravel5": "dev-master"
    …
}

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

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

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

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

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

The Versions

02/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

 

laravel sendinblue

02/05 2018

1.0.1

1.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

 

laravel sendinblue

02/05 2018

1.0.0

1.0.0.0

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

  Sources   Download

MIT

The Requires

 

laravel sendinblue