PHPackages                             waughj/html-mail-link - 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. waughj/html-mail-link

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

waughj/html-mail-link
=====================

Simple way to create HTML for email link.

v0.1.5(6y ago)0761AGPL-3.0-or-laterPHPPHP &gt;=7.0

Since Nov 12Pushed 6y agoCompare

[ Source](https://github.com/waughjai/html-mail-link)[ Packagist](https://packagist.org/packages/waughj/html-mail-link)[ RSS](/packages/waughj-html-mail-link/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (1)

HTML Mail Link
==============

[](#html-mail-link)

Simple way to create HTML for email link.

Simply create an instance sending the email as the 1st argument and either use the object as a string or call getHTML() on it to automatically generate HTML for a mailto link.

Example:

`new HTMLMailLink( 'waughjai@gmail.com' );`

Generates the HTML:

`waughjai@gmail.com`

For custom value shown in the link, push a hash map as the optional 2nd argument with the value you want in the "value" key:

Example:

`new HTMLMailLink( 'waughjai@gmail.com', [ "value" => "Email me." ] );`

Generates the HTML:

`Email me.`

This hash map can also be used to send all other valid HTML5 attributes, as well as other options. See HTMLLink source code at  for mo' details.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

Every ~41 days

Recently: every ~51 days

Total

6

Last Release

2536d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11161078?v=4)[waughj](/maintainers/waughj)[@waughj](https://github.com/waughj)

---

Tags

linkemailhtml

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waughj-html-mail-link/health.svg)

```
[![Health](https://phpackages.com/badges/waughj-html-mail-link/health.svg)](https://phpackages.com/packages/waughj-html-mail-link)
```

###  Alternatives

[soundasleep/html2text

A PHP script to convert HTML into a plain text format

48419.5M75](/packages/soundasleep-html2text)[snowfire/beautymail

Send beautiful html emails with Laravel

1.3k733.1k2](/packages/snowfire-beautymail)[voku/html2text

Only a Fork of -&gt; html2text: Converts HTML to formatted plain text

39335.8k2](/packages/voku-html2text)[yarri/link-finder

Converts non-clickable URLs and email addresses in text (plain or HTML) into clickable HTML links

18148.6k1](/packages/yarri-link-finder)[osiemsiedem/laravel-autolink

A Laravel package for converting URLs in a given string of text into clickable links.

13126.3k](/packages/osiemsiedem-laravel-autolink)

PHPackages © 2026

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