PHPackages                             datastone/craft-obfuscate - 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. datastone/craft-obfuscate

ActiveCraft-plugin[Mail &amp; Notifications](/categories/mail)

datastone/craft-obfuscate
=========================

Datastone obfuscate

1.1.0(2y ago)021MITPHP

Since Feb 3Pushed 2y agoCompare

[ Source](https://github.com/datastone-web-app/craftcms-obfuscate)[ Packagist](https://packagist.org/packages/datastone/craft-obfuscate)[ RSS](/packages/datastone-craft-obfuscate/feed)WikiDiscussions main Synced 1mo ago

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

Datastone obfuscate
===================

[](#datastone-obfuscate)

Obfuscate an email or other strings to prevent spam-bots from sniffing it.

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

[](#installation)

Install the plugin via the Craft CMS control panel or via the command line:

```
composer require datastone/craft-obfuscate
```

```
./craft plugin/install datastone-obfuscate
```

Usage
-----

[](#usage)

twig filter:

In the simplest form you can use

```
{{ "email@example.com" | obfuscate }}
```

Roadmap
=======

[](#roadmap)

- add other methods to obfucate email like text directions
- css and javascript tricks

---

### More advance usage:

[](#more-advance-usage)

```
{{ string $str | [, obfuscate | obfuscateEmail | obfuscateMailTo] }}
```

```
craft extension:
{{ craft.obfuscator.obfuscate(string $str) }}
{{ craft.obfuscator.email(string $email) }}
{{ craft.obfuscator.mailto(string $email) }}
```

obfuscateMailTo:

```
{{ string $email | obfuscateMailTo([string $title [, $json ]]) }}
{{ craft.obfuscator.mailto(string $email [, string $title [, $json ]]) }}
```

example :

```
{{ 'exm@test.nl' | obfuscateMailTo('title', {'class' : 'className', 'attr' : ''}) }}
```

output :

```
title
```

string concat: (notice the () for twig otherwise the parsing goes wrong!)

```
{{ ('Some string to hide ' ~ foo.bar) | obfuscate }}
{{ craft.obfuscator.obfuscate('Some string to hide ' ~ foo.bar) }}
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Every ~459 days

Total

2

Last Release

736d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62e49d1fdb406b2253cfe2c03e10040c71e2794eb10c7c82072983e418febad3?d=identicon)[Jyro](/maintainers/Jyro)

---

Top Contributors

[![77120bd](https://avatars.githubusercontent.com/u/42668728?v=4)](https://github.com/77120bd "77120bd (4 commits)")

---

Tags

emailobfuscatedatastone

### Embed Badge

![Health badge](/badges/datastone-craft-obfuscate/health.svg)

```
[![Health](https://phpackages.com/badges/datastone-craft-obfuscate/health.svg)](https://phpackages.com/packages/datastone-craft-obfuscate)
```

###  Alternatives

[zbateson/mail-mime-parser

MIME email message parser

53949.2M79](/packages/zbateson-mail-mime-parser)[putyourlightson/craft-campaign

Send and manage email campaigns, contacts and mailing lists.

6435.0k1](/packages/putyourlightson-craft-campaign)[putyourlightson/craft-amazon-ses

Amazon SES mailer adapter.

1190.4k2](/packages/putyourlightson-craft-amazon-ses)[craftpulse/craft-notifications

Send notifications across a variety of delivery channels, including mail and Slack. Notifications may also be stored in a database so they may be displayed in your web interface.

551.2k](/packages/craftpulse-craft-notifications)

PHPackages © 2026

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