New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

hofmannsven/laravel-brevo

Laravel wrapper for Brevo's API v3 PHP library.
94,108 36
Install
composer require hofmannsven/laravel-brevo
Latest Version:2.2.1
PHP:^8.1
Laravel:8 – 13
License:MIT
Last Updated:Apr 20, 2026
Links: GitHub  ·  Packagist
Maintainer: hofmannsven

Laravel Brevo

Laravel Brevo

Latest Version on Packagist GitHub Tests Action Status GitHub license

This package is a wrapper for Brevo's API v3 PHP library.

Tested with PHP versions 8.1, 8.2, 8.3, 8.4, and 8.5 on Laravel 10, Laravel 11, Laravel 12, and Laravel 13.

Installation

You can install the package via Composer:

composer require hofmannsven/laravel-brevo

Publish the config files

Publish package config files:

php artisan vendor:publish --provider="Hofmannsven\Brevo\BrevoServiceProvider"

Set the API Key

In your .env file, add your Brevo API key:

BREVO_API_KEY=xxx

Usage

use Hofmannsven\Brevo\Facades\Brevo;

// Account
$result = Brevo::AccountApi()->getAccount();
var_dump($result);

// Domains
$result = Brevo::DomainsApi()->getDomains();
var_dump($result);

// Contacts
$result = Brevo::ContactsApi()->getContacts();
var_dump($result);

// With custom client
$result = Brevo::AccountApi(
    new \GuzzleHttp\Client()
)->getAccount();

Available APIs

Use any getbrevo/brevo-php API (see supported functions):

  • AccountApi
  • AttributesApi
  • CompaniesApi
  • ContactsApi
  • ConversationsApi
  • CouponsApi
  • CRMApi
  • DealsApi
  • DomainsApi
  • EcommerceApi
  • EmailCampaignsApi
  • EventsApi
  • ExternalFeedsApi
  • FilesApi
  • FoldersApi
  • InboundParsingApi
  • ListsApi
  • MasterAccountApi
  • NotesApi
  • ProcessApi
  • ResellerApi
  • SendersApi
  • SMSCampaignsApi
  • TasksApi
  • TransactionalEmailsApi
  • TransactionalSMSApi
  • TransactionalWhatsAppApi
  • UserApi
  • WebhooksApi
  • WhatsAppCampaignsApi

Development

Code Style Fixer

composer format

Testing

composer test

Changelog

Please read the changelog for more information about recent changes.

Contributing

Please read the contribution guidelines for details.

Support

Always feel free to raise an issue on GitHub.

Security

If you discover a security issue, please contact me directly. My GPG fingerprint/key is available on Keybase.

Credits

License

MIT License (MIT). Please read the license for more information.

Laravel and the Laravel logo are trademarks of Taylor Otwell. Banner image generated with banners.beyondco.de

Related Packages

spatie/laravel-newsletter

Manage Mailcoach, MailChimp, MailerLite and Brevo newsletters in Laravel

7,109,506 1,641
kreatif/laravel-brevo-mailer

Symfony Mailer transport for the Brevo transactional email API, for use with Lar...

1,021 0
yieldstudio/laravel-brevo-notifier

Easily send Brevo transactional email and sms with Laravel notifier.

50,606 7
juanparati/brevosuite

Complete Brevo integration with Laravel

19,875 12
bhekor/laravel-brevo

Laravel package for Brevo (ex-Sendinblue) API integration

2,646 1

Version History

Version Released PHP Laravel License
2.2.1 ^8.1 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
2.2.0 ^8.1 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
2.1.3 ^8.1 ^8.0|^9.0|^10.0|^11.0|^12.0 MIT
2.1.2 ^8.1 ^8.0|^9.0|^10.0|^11.0|^12.0 MIT
2.1.1 ^8.1 ^8.0|^9.0|^10.0|^11.0|^12.0 MIT