PHPackages                             glpzzz/object2email - 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. [Templating &amp; Views](/categories/templating)
4. /
5. glpzzz/object2email

ActiveLibrary[Templating &amp; Views](/categories/templating)

glpzzz/object2email
===================

Simple solution to obtain a Symfony/Email representation of any object by implementing the provided interface

1.0.0(2y ago)16MITPHP

Since Mar 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/glpzzz/Object2Email)[ Packagist](https://packagist.org/packages/glpzzz/object2email)[ RSS](/packages/glpzzz-object2email/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Object2Email
============

[](#object2email)

Simple solution to prepare a Symfony Email by implementing an interface in any class

The idea is to provide a common interface to for objects to be sent via Symfony Mailer.

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

[](#installation)

Install using `composer`

```
  composer require glpzzz/object2email
```

Usage
-----

[](#usage)

```
$p = new Person() // or obtain from db
// work with it, modify it, set the properties...
$mailer->send($p->toEmail());
```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

849d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13596248?v=4)[Gabriel Alejandro López López](/maintainers/glpzzz)[@glpzzz](https://github.com/glpzzz)

---

Top Contributors

[![glpzzz](https://avatars.githubusercontent.com/u/13596248?v=4)](https://github.com/glpzzz "glpzzz (6 commits)")

### Embed Badge

![Health badge](/badges/glpzzz-object2email/health.svg)

```
[![Health](https://phpackages.com/badges/glpzzz-object2email/health.svg)](https://phpackages.com/packages/glpzzz-object2email)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[illuminate/mail

The Illuminate Mail package.

5910.6M500](/packages/illuminate-mail)

PHPackages © 2026

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