PHPackages                             mograine/laravel-sendinblue-template - 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. mograine/laravel-sendinblue-template

ActiveLibrary[API Development](/categories/api)

mograine/laravel-sendinblue-template
====================================

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

v1.3.3(10mo ago)01.4kMITPHPPHP ^8.1

Since Jun 22Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/Mograine/laravel-sendinblue-template)[ Packagist](https://packagist.org/packages/mograine/laravel-sendinblue-template)[ Docs](https://github.com/mograine/laravel-sendinblue-template)[ RSS](/packages/mograine-laravel-sendinblue-template/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

Laravel Sendinblue Notification Template
========================================

[](#laravel-sendinblue-notification-template)

[![Latest Version on Packagist](https://camo.githubusercontent.com/37aa66fc0a5a79db2bedc664094cb19ee16e14cf4b68858cd78c960d287e7c48/68747470733a2f2f706f7365722e707567782e6f72672f6d6f677261696e652f6c61726176656c2d73656e64696e626c75652d74656d706c6174652f762f737461626c65)](https://packagist.org/packages/mograine/laravel-sendinblue-template)[![Total Downloads](https://camo.githubusercontent.com/47c15888174afdcf5dc01edbcf5533ec80e03cbfa997b62d0ed6949873104684/68747470733a2f2f706f7365722e707567782e6f72672f6d6f677261696e652f6c61726176656c2d73656e64696e626c75652d74656d706c6174652f646f776e6c6f616473)](https://packagist.org/packages/mograine/laravel-sendinblue-template)[![License](https://camo.githubusercontent.com/5b6f59b4da942a668dacf8eabc69c658b4e9520559f60699c1dc1f2294adc3e6/68747470733a2f2f706f7365722e707567782e6f72672f6d6f677261696e652f6c61726176656c2d73656e64696e626c75652d74656d706c6174652f6c6963656e7365)](https://github.com/mograine/laravel-sendinblue-template/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.

It also allow to simply send a laravel notification using a SendInBlue transactional template.

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

[](#installation)

You can install this package via Composer using:

```
composer require mograine/laravel-sendinblue-template-template
```

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_API_KEY=xkeysib-XXXXXXXXXXXXXXXXXXX
SENDINBLUE_EMAIL=defaultEmail
SENDINBLUE_NAME=defaultName
```

Usage
-----

[](#usage)

This package provide a built-in notification channel to send transactional template emails.

To test it, create a new notification using the `php artisan make:notification` command.

Example of usage :

```
