PHPackages                             beastbytes/yii2-emailobfuscator - 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. beastbytes/yii2-emailobfuscator

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

beastbytes/yii2-emailobfuscator
===============================

Yii2 Widget to obfuscate email addresses

v1.0.0(10y ago)013[1 issues](https://github.com/beastbytes/yii2-emailobfuscator/issues)BSD-3-ClausePHP

Since Jul 27Pushed 10y ago1 watchersCompare

[ Source](https://github.com/beastbytes/yii2-emailobfuscator)[ Packagist](https://packagist.org/packages/beastbytes/yii2-emailobfuscator)[ RSS](/packages/beastbytes-yii2-emailobfuscator/feed)WikiDiscussions master Synced 1mo ago

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

yii2-emailobfuscator
====================

[](#yii2-emailobfuscator)

Yii2 Widget to obfuscate email addresses to help prevent harvesting by spam bots.

The widget outputs either a message or an obfuscated version of the address as the text into the document. If JavaScript is enabled that text is replaced with a *mailto* link.

For license information see the [LICENSE](LICENSE.md) file.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist beastbytes/yii2-microformats

```

or add

```
"beastbytes/yii2-emailobfuscator": "~1.0.0"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

Use this extension in a view.

To output the default message ("This e-mail address is protected to prevent harvesting by spam-bots")

```
$emailAddress = EmailObfuscator::widget([
    'address' => 'my.address@example.com'
]);
```

To output the email address as an obfuscated version: "my dot address at example dot com"

```
$emailAddress = EmailObfuscator::widget([
    'address' => 'my.address@example.com',
    'obfuscators' => [' dot ', ' at ']
]);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3948d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0b5133b5137b26eeb25056449c28364ac0af31836eefba78912a9c8f0743aa3?d=identicon)[BeastBytes](/maintainers/BeastBytes)

---

Top Contributors

[![beastbytes](https://avatars.githubusercontent.com/u/1470144?v=4)](https://github.com/beastbytes "beastbytes (3 commits)")

---

Tags

emailobfuscateyii2widgetobfuscationemail address

### Embed Badge

![Health badge](/badges/beastbytes-yii2-emailobfuscator/health.svg)

```
[![Health](https://phpackages.com/badges/beastbytes-yii2-emailobfuscator/health.svg)](https://phpackages.com/packages/beastbytes-yii2-emailobfuscator)
```

###  Alternatives

[nterms/yii2-mailqueue

Email queue component for yii2 that works with yii2-swiftmailer.

87129.2k2](/packages/nterms-yii2-mailqueue)[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29554.2k2](/packages/nickcv-yii2-mandrill)[tuyakhov/yii2-notifications

The extension provides support for sending notifications across a variety of delivery channels, including mail, SMS, Slack etc. Notifications may also be stored in a database so they may be displayed in your web interface.

6735.5k2](/packages/tuyakhov-yii2-notifications)[yarcode/yii2-mailgun-mailer

Mailgun mailer implementation for Yii2

1576.0k](/packages/yarcode-yii2-mailgun-mailer)[diecoding/yii2-toastr

Simple flash toastr notifications for Yii2

1328.8k](/packages/diecoding-yii2-toastr)

PHPackages © 2026

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