PHPackages                             bhekor/laravel-brevo - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. bhekor/laravel-brevo

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

bhekor/laravel-brevo
====================

Laravel package for Brevo (ex-Sendinblue) API integration

v1.0.1(11mo ago)11.1k—0%MITPHPPHP ^8.1

Since May 31Pushed 11mo agoCompare

[ Source](https://github.com/bhekor/laravel-brevo)[ Packagist](https://packagist.org/packages/bhekor/laravel-brevo)[ RSS](/packages/bhekor-laravel-brevo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (9)Versions (4)Used By (0)

Laravel-Brevo Integration Package
=================================

[](#laravel-brevo-integration-package)

Complete Brevo (formerly Sendinblue) integration for Laravel, including email support, webhook handling, and optional Vue components.

[![Latest Version on Packagist](https://camo.githubusercontent.com/ae4db18f8935f2b5a4227b234c00aeb811e75d38fadf38b309069288655b7e9c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6268656b6f722f6c61726176656c2d627265766f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bhekor/laravel-brevo)[![Total Downloads](https://camo.githubusercontent.com/34acf6d352f1de803dfbf1030c492b823f7933b4c07a6965fcd34caf2a51144a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6268656b6f722f6c61726176656c2d627265766f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bhekor/laravel-brevo)[![GitHub Tests Action Status](https://camo.githubusercontent.com/530ba73dbbd755193696a3a41166b0b33c7fc9999a64a72bb6cc012a7a3c0a11/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6268656b6f722f6c61726176656c2d627265766f2f74657374732e796d6c3f6c6162656c3d7465737473)](https://github.com/bhekor/laravel-brevo/actions?query=workflow%3Arun-tests+branch%3Amain)[![PHPStan](https://camo.githubusercontent.com/fff00cebb924e124a7335e6bd8ca8f8cf38869463c1654eff45d0939f1f21c57/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://phpstan.org)[![License](https://camo.githubusercontent.com/b9745642fcfce6e23c56225b8452477fe9ec0e765d16a22ab71b9434dec8aaf0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6268656b6f722f6c61726176656c2d627265766f2e7376673f7374796c653d666c61742d737175617265)](https://github.com/bhekor/laravel-brevo/blob/main/LICENSE)[![PHP Version Support](https://camo.githubusercontent.com/d9145c4c9e677a24fc8e5a59091e5ccedeebefcdd69dc871b5b8edf0f1a8fb08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6268656b6f722f6c61726176656c2d627265766f2e7376673f7374796c653d666c61742d737175617265)](https://php.net)[![Laravel Version Support](https://camo.githubusercontent.com/6e79f77c5715c8b921ae0c58a4bcb7eb28a393274dc6e833eccb5932b028bba1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d392e7825323025374325323031302e782d4646324432302e7376673f7374796c653d666c61742d737175617265266c6f676f3d6c61726176656c)](https://laravel.com)

---

Features
--------

[](#features)

- Seamless integration with Laravel's Mail facade
- Full support for Markdown Mailables
- Multiple usage options (default mailer, explicit mailer, facade)
- Webhook handling
- Optional Vue components for analytics
- Comprehensive error handling
- Modern PHP &amp; Laravel practices (strict typing, PSR-12, PHPDoc)

---

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

[](#installation)

```
composer require bhekor/laravel-brevo
```

### Configuration

[](#configuration)

Publish the config file:

```
php artisan vendor:publish --tag=brevo-config
```

Set your API key and sender details in your `.env`:

```
MAIL_MAILER=brevo
BREVO_API_KEY=your_api_key
BREVO_FROM_EMAIL=noreply@example.com
BREVO_FROM_NAME="Your App"
```

---

Frontend Integration (Optional)
-------------------------------

[](#frontend-integration-optional)

Install frontend dependencies:

```
npm install --save-dev @vueuse/core chart.js
php artisan vendor:publish --tag=brevo-assets
```

In your `resources/js/app.js`:

```
import Brevo from '../../public/vendor/laravel-brevo/brevo';
import { createApp } from 'vue';

const app = createApp({});
app.use(Brevo, {
    apiBaseUrl: '/brevo-api'
});
```

Use components in your Vue template:

```

```

---

Usage
-----

[](#usage)

### Regular Mailable

[](#regular-mailable)

```
Mail::to('user@example.com')->send(new OrderShipped());
```

### Markdown Mailable

[](#markdown-mailable)

```
namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class OrderShipped extends Mailable
{
    use Queueable, SerializesModels;

    public function build()
    {
        return $this->markdown('emails.orders.shipped')
                    ->with([
                        'order' => $this->order,
                    ]);
    }
}
```

### Using the Facade

[](#using-the-facade)

```
Brevo::email()->send(new OrderShipped());
```

---

Webhooks
--------

[](#webhooks)

1. Register your webhook endpoint in the Brevo dashboard.
2. Add the following to your `routes/api.php`:

```
Route::brevoWebhooks('/brevo/webhook');
```

---

Testing
-------

[](#testing)

```
composer test
```

---

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please report any security vulnerabilities to .

---

Test Suite
----------

[](#test-suite)

The package includes a robust set of unit and feature tests to ensure reliability.

### Directory Structure

[](#directory-structure)

```
tests/
├── Feature/
│   ├── MailTransportTest.php
│   └── WebhookTest.php
└── Unit/
    ├── BrevoClientTest.php
    ├── EventMapperTest.php
    ├── MailTransportTest.php
    ├── TransactionalEmailTest.php
    └── WebhookControllerTest.php

```

Run all tests with:

```
composer test
```

Or use PHPUnit directly:

```
./vendor/bin/phpunit
```

---

Package Structure
-----------------

[](#package-structure)

```
bhekor/
└── laravel-brevo/
    ├── config/
    │   └── brevo.php
    ├── resources/
    │   └── js/
    │       ├── components/
    │       │   ├── BrevoStats.vue
    │       │   └── BrevoWebhookLogs.vue
    │       └── brevo.js
    ├── src/
    │   ├── BrevoServiceProvider.php
    │   ├── Contracts/
    │   │   ├── BrevoClientInterface.php
    │   │   └── MailTransportInterface.php
    │   ├── Exceptions/
    │   │   ├── BrevoApiException.php
    │   │   ├── BrevoConfigurationException.php
    │   │   └── BrevoValidationException.php
    │   ├── Facades/
    │   │   └── Brevo.php
    │   ├── Mail/
    │   │   └── BrevoTransport.php
    │   ├── Services/
    │   │   ├── BrevoClient.php
    │   │   └── TransactionalEmail.php
    │   └── Webhooks/
    │       ├── EventMapper.php
    │       ├── WebhookController.php
    │       └── routes.php
    ├── tests/
    │   ├── Feature/
    │   │   ├── MailTransportTest.php
    │   │   └── WebhookTest.php
    │   └── Unit/
    │       ├── BrevoClientTest.php
    │       ├── EventMapperTest.php
    │       ├── MailTransportTest.php
    │       ├── TransactionalEmailTest.php
    │       └── WebhookControllerTest.php
    ├── composer.json
    ├── package.json
    └── README.md

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance52

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~14 days

Total

2

Last Release

338d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9fa33dda7a8273805d765fb106d099bfc989312a3b35aac349958e7fa0f6819?d=identicon)[bhekor](/maintainers/bhekor)

---

Top Contributors

[![bhekor](https://avatars.githubusercontent.com/u/10033255?v=4)](https://github.com/bhekor "bhekor (9 commits)")

---

Tags

apilaravelemailsmsmarketingbrevosendinbluetransactional email

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bhekor-laravel-brevo/health.svg)

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

###  Alternatives

[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[princealikhan/laravel-mautic-api

Free and Open Source Marketing Automation API

415.9k](/packages/princealikhan-laravel-mautic-api)[juanparati/brevosuite

Complete Brevo integration with Laravel

1010.8k](/packages/juanparati-brevosuite)[ghanem/laravel-smsmisr

Send SMS and SMS Notification via SMS Misr for Laravel

194.8k](/packages/ghanem-laravel-smsmisr)

PHPackages © 2026

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