beljic/module-brevo

Magento 2 integration with Brevo API

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.5 2025-07-16 06:44 UTC

This package is auto-updated.

Last update: 2025-07-16 06:45:32 UTC


README

Magento 2 module for checking a customer's Brevo blacklist status and blocking transactional emails if needed.

Installation

composer require beljic/module-brevo

Configuration

In Admin: Stores > Configuration > Brevo Settings:

  • Enabled – enable or disable the module
  • API Key – your Brevo API V3 key
  • Cache Lifetime – seconds to cache blacklist status

Usage

  • Displays status (✅/❌) in the header for logged-in customers.
  • Prevents sending order/invoice/shipment emails if blacklisted.

Testing

  • PHPUnit tests in tests/Model/BrevoClientTest.php.
  • Run vendor/bin/phpunit.