beljic/module-brevo
Magento 2 integration with Brevo API
Maintainers
1.1.0
2025-07-18 12:43 UTC
Requires
- php: >=8.1
- getbrevo/brevo-php: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 682eceb0e83ec7f6d1c088c7b376d3b140b9d8e2
- Dejan Beljiฤ <beljic.woop@gmail.com>
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
Test/. - Run
vendor/bin/phpunit Test/*.
