PHPackages                             devinci-it/brevomailer - 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. devinci-it/brevomailer

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

devinci-it/brevomailer
======================

Brevo SMTP Mailer Package

02↑2900%PHP

Since Jun 22Pushed yesterdayCompare

[ Source](https://github.com/devinci-it/devinci-it-brevomailer)[ Packagist](https://packagist.org/packages/devinci-it/brevomailer)[ RSS](/packages/devinci-it-brevomailer/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

DevinciIT/BrevoMailer
=====================

[](#devinciitbrevomailer)

A modern, modular, and strictly object-oriented SMTP library for PHP 8.1+. Designed to provide a clean, dry, and decoupled interface for sending emails via Brevo (or any SMTP provider) while maintaining environment agnosticism.

Features
--------

[](#features)

- **Strictly OOP:** Decoupled architecture using Interfaces and Value Objects.
- **Compose Method Pattern:** Small, readable, single-responsibility methods.
- **Environment Agnostic:** No hardcoded `.env` logic within the core service.
- **Sender Overrides:** Easily swap "From" identity on a per-email basis.
- **Global Helper:** Optional global `mailer()` helper for easy access.

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

[](#installation)

```
composer require devinci-it/brevo-mailer phpmailer/phpmailer vlucas/phpdotenv
```

Quick Start
-----------

[](#quick-start)

```
use DevinciIT\BrevoMailer\MailerFactory;
use DevinciIT\BrevoMailer\DTO\EmailMessage;

// 1. Initialize
$mailer = MailerFactory::createFromEnv(__DIR__);

// 2. Send
$mailer->send(new EmailMessage(
    to: 'client@example.com',
    subject: 'Hello World',
    htmlBody: 'Test Email'
));
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance65

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b4d3d3b0aec4f30cd6bca90b49a9c4bb801be47143d3e7fac6ab06ec6e6f589f?d=identicon)[devinci-it](/maintainers/devinci-it)

---

Top Contributors

[![devinci-it](https://avatars.githubusercontent.com/u/108965390?v=4)](https://github.com/devinci-it "devinci-it (1 commits)")

### Embed Badge

![Health badge](/badges/devinci-it-brevomailer/health.svg)

```
[![Health](https://phpackages.com/badges/devinci-it-brevomailer/health.svg)](https://phpackages.com/packages/devinci-it-brevomailer)
```

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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