2017 © Pedro Peláez
 

yii2-extension yii2-emailobfuscator

Yii2 Widget to obfuscate email addresses

image

beastbytes/yii2-emailobfuscator

Yii2 Widget to obfuscate email addresses

  • Monday, July 27, 2015
  • by BeastBytes
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

yii2-emailobfuscator

Yii2 Widget to obfuscate email addresses to help prevent harvesting by spam bots., (*1)

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., (*2)

For license information see the LICENSE file., (*3)

Installation

The preferred way to install this extension is through composer., (*4)

Either run, (*5)

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

or add, (*6)

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

to the require section of your composer.json., (*7)

Usage

Use this extension in a view., (*8)

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

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

To output the email address as an obfuscated version: "my dot address at example dot com", (*10)

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

The Versions

27/07 2015

dev-master

9999999-dev

Yii2 Widget to obfuscate email addresses

  Sources   Download

BSD-3-Clause

The Requires

 

by Chris Yates

email yii2 widget obfuscate email address obfuscation

27/07 2015

v1.0.0

1.0.0.0

Yii2 Widget to obfuscate email addresses

  Sources   Download

BSD-3-Clause

The Requires

 

by Chris Yates

email yii2 widget obfuscate email address obfuscation