PHPackages                             filippo-toso/eml-builder - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. filippo-toso/eml-builder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

filippo-toso/eml-builder
========================

A simple class to build EML files

v1.0.0(1y ago)112MITPHPPHP ^7.0 || ^8.0 || ^9.0

Since Aug 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/filippotoso/eml-builder)[ Packagist](https://packagist.org/packages/filippo-toso/eml-builder)[ RSS](/packages/filippo-toso-eml-builder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Eml Builder
===========

[](#eml-builder)

A simple class to build EML files.

Installing
----------

[](#installing)

Use Composer to install it:

```
composer require filippo-toso/eml-builder

```

How does it work?
-----------------

[](#how-does-it-work)

It's really easy:

```
use FilippoToso\EmlBuilder\Address;
use FilippoToso\EmlBuilder\EmlBuilder;

$builder = (new EmlBuilder())
    ->from(Address::make('info@example.com', 'Acme Inc'))
    ->to(Address::make('info@example.com'))
    ->cc([Address::make('info@example.com'), Address::make('info@example.com', 'Acme Inc')])
    ->subject('Hello World!')
    ->text('This is the textual part of the email!')
    ->html('This is the HTML part of the email!');

// Get the EML content
$content = $builder->get();

// Save the EML content
$builder->save('test-email.eml');
```

That's it!

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

625d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55d89f2d44fb12225de2119994028ee69e36770bcf33c2b1ddf0d6672d28151b?d=identicon)[filippo.toso](/maintainers/filippo.toso)

---

Top Contributors

[![filippotoso](https://avatars.githubusercontent.com/u/26958813?v=4)](https://github.com/filippotoso "filippotoso (2 commits)")

### Embed Badge

![Health badge](/badges/filippo-toso-eml-builder/health.svg)

```
[![Health](https://phpackages.com/badges/filippo-toso-eml-builder/health.svg)](https://phpackages.com/packages/filippo-toso-eml-builder)
```

PHPackages © 2026

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