PHPackages                             sujith/laravel-sendinblue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sujith/laravel-sendinblue

ActiveLibrary[API Development](/categories/api)

sujith/laravel-sendinblue
=========================

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

03PHP

Since Apr 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sujith2014/laravel-sendinblue)[ Packagist](https://packagist.org/packages/sujith/laravel-sendinblue)[ RSS](/packages/sujith-laravel-sendinblue/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Sendinblue
==================

[](#laravel-sendinblue)

[![Latest Version on Packagist](https://camo.githubusercontent.com/00ee38fa29f4db075ca3e36d90991610c150e3c57824c800edd4da0693d4e943/68747470733a2f2f706f7365722e707567782e6f72672f53756a6974682f6c61726176656c2d73656e64696e626c75652f762f737461626c65)](https://packagist.org/packages/Sujith/laravel-sendinblue)[![Total Downloads](https://camo.githubusercontent.com/d8c7e25c56ec797ffdc450b0af7bc4d4681531cc9415ee39262c8827c38f8400/68747470733a2f2f706f7365722e707567782e6f72672f53756a6974682f6c61726176656c2d73656e64696e626c75652f646f776e6c6f616473)](https://packagist.org/packages/Sujith/laravel-sendinblue)[![Build Status](https://camo.githubusercontent.com/ab283e07ed17ff10b110af683f7b6c78318b245ea14db5d4158b2950d4b55086/68747470733a2f2f7472617669732d63692e6f72672f53756a6974682f6c61726176656c2d73656e64696e626c75652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Sujith/laravel-sendinblue)[![Coverage Status](https://camo.githubusercontent.com/b4df9d617b4e9ebd7d7028c934b1ab9d718367edb57783870b66423b444f6b6c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53756a6974682f6c61726176656c2d73656e64696e626c75652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Sujith/laravel-sendinblue?branch=master)[![Quality Score](https://camo.githubusercontent.com/55925c170fdb65d6918f1bb169195aea109904f70c15bb32a2548e6db37773fe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f53756a6974682f6c61726176656c2d73656e64696e626c75652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Sujith/laravel-sendinblue)[![StyleCI](https://camo.githubusercontent.com/81f96f5d1e221a04fcd6b0c119d17cec686c9b0a28c30d25b11b36bdb4653521/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3133343836353435302f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/134865450)[![License](https://camo.githubusercontent.com/8f46a699f834b6406916bb4fd34dfaccbbb857579ff6deed4f6d53d69f7b8922/68747470733a2f2f706f7365722e707567782e6f72672f53756a6974682f6c61726176656c2d73656e64696e626c75652f6c6963656e7365)](https://github.com/Sujith/laravel-sendinblue/blob/HEAD/license.md)

The package simply provides a Laravel service provider, facade and config file for the SendinBlue's API v3 official PHP library.

Installation
------------

[](#installation)

You can install this package via Composer using:

```
composer require sujith/laravel-sendinblue
```

For Laravel &lt;5.5, you must also install the service provider and the facade to your `config/app.php`:

```
// config/app.php
'providers' => [
    ...
    Sujith\Sendinblue\SendinblueServiceProvider::class,
    ...
];
```

```
// config/app.php
'aliases' => [
    ...
    'Sendinblue' => Sujith\Sendinblue\Facades\Sendinblue::class,
];
```

Configuration
-------------

[](#configuration)

You need to publish the config file to `app/config/sendinblue.php`. To do so, run:

```
php artisan vendor:publish --tag=sendinblue.config
```

Now you need to set your configuration using **environment variables**. Go the the Sendinblue API settings and add the v3 API key to your `.env` file.

```
SENDINBLUE_APIKEY=xkeysib-XXXXXXXXXXXXXXXXXXX
```

Usage
-----

[](#usage)

To test it, you can add the folowing code in routes.php.

```
// routes.php
...
use Sujith\Sendinblue\Facades\Sendinblue;

Route::get('/test', function () {

    // Configure API keys authorization according to the config file
    $config = Sendinblue::getConfiguration();

    // Uncomment below to setup prefix (e.g. Bearer) for API keys, if needed
    // $config->setApiKeyPrefix('api-key', 'Bearer');
    // $config->setApiKeyPrefix('partner-key', 'Bearer');

    $apiInstance = new \SendinBlue\Client\Api\ListsApi(
        // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
        // This is optional, `GuzzleHttp\Client` will be used as default.
        new GuzzleHttp\Client(),
        $config
    );

    try {
        $result = $apiInstance->getLists();
        dd($result);
    } catch (Exception $e) {
        echo 'Exception when calling AccountApi->getAccount: ', $e->getMessage(), PHP_EOL;
    }

});
```

To get a idea of the of the API endpoints, visit the API [readme file](https://github.com/sendinblue/APIv3-php-library#documentation-for-api-endpoints).

Be sure to visit the SendinBlue official [documentation website](https://sendinblue.readme.io/docs) for additional information about our API.

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e9b989c459bbcdacd526a69062d64850860afdb7f4e1bb9f8eca7db7d823352?d=identicon)[sujith2014](/maintainers/sujith2014)

### Embed Badge

![Health badge](/badges/sujith-laravel-sendinblue/health.svg)

```
[![Health](https://phpackages.com/badges/sujith-laravel-sendinblue/health.svg)](https://phpackages.com/packages/sujith-laravel-sendinblue)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
