Looking to hire Laravel developers? Try LaraJobs

laravel-sendinblue maintained by alagaccia

Description
Sendinblue API for Laravel Projects
Last update
2026/03/26 11:48 (0.43)
License
Links
Downloads
151

Comments
comments powered by Disqus

laravel-sendinblu

Table of Contents

Installing and configuring

Installing the package

You need to use Composer to install this package into your Laravel project:

composer require alagaccia/laravel-sendinblue

Load Service Provider

From Laravel 5.5 and newer the package wil register itself using Laravel's Auto Discovery.

Laravel 5.4 and older needs to include SendinblueServiceProvider in your config/app.php:

'providers' => [
    /*
     * Package Service Providers...
     */
    AndreaLagaccia\SendinblueServiceProvider::class,
]

Publishing the configuration file

Run the following Artisan command in your terminal to copy the environment variables:

php artisan vendor:publish --provider="AndreaLagaccia\Sendinblue\SendinblueServiceProvider"

Choose the preference and press ENTER

Provider: AndreaLagaccia\Sendinblue\SendinbluServiceProvider

Now you have a config/sendinblue.php config file, where you can set the API_KEY and your favorite LIST_ID. You can also write your Sendinblue variables in the .env file as follow:

SENDINBLUE_API_KEY=
SENDINBLUE_LIST_ID=
SENDINBLUE_API_KEY=

Usage