PHPackages                             janthomas89/mailsafe - 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. janthomas89/mailsafe

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

janthomas89/mailsafe
====================

simple symfony 2 bundle to output an email in a spam safe way

0101PHP

Since Dec 30Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

mailsafe
========

[](#mailsafe)

Simple symfony 2 bundle to output an email in a spam safe way

How it works?
-------------

[](#how-it-works)

In order to hide an email address for spam bots, mailsafe renders a span element instead of the raw email address. The spans data-mailsafe attribute represents a reversed and base 64 encoded version of the email address.

```

```

To display a human readable version of this email the span is replaced via javascript.

How to use?
-----------

[](#how-to-use)

Include @JanThomas89MailSafeBundle/Resources/public/js/mailsafe.jquery.js in your template. Then use the twig filter "mailsafe" whenever you want to output an email.

```
{{ "example@example.com" | mailsafe }}
```

**WARNING** This script requires [base64 support](http://caniuse.com/#feat=atob-btoa) in browser. If you need to support other browsers (e.g. &lt;IE10) use [polyfill](https://github.com/davidchambers/Base64.js)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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/d56a9320436721b695297ba647cfc4ead7be7a1af9fd4c677efe94545d99e6b5?d=identicon)[janthomas89](/maintainers/janthomas89)

---

Top Contributors

[![janthomas89](https://avatars.githubusercontent.com/u/3420804?v=4)](https://github.com/janthomas89 "janthomas89 (9 commits)")[![mente](https://avatars.githubusercontent.com/u/391997?v=4)](https://github.com/mente "mente (2 commits)")

### Embed Badge

![Health badge](/badges/janthomas89-mailsafe/health.svg)

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

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[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)
