Skip to content

kminek/email-obfuscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Obfuscator

Effective email obfuscation in PHP

Background

http://www.celticproductions.net/articles/10/email/php+email+obfuscator.html

I've created Composer package from above code with minor additions (code clean-up, random variable names).

Usage

// helper function
echo obfuscate_email('[email protected]');
echo obfuscate_email('[email protected]', 'Contact us');

// class
echo \Kminek\EmailObfuscator::obfuscate('[email protected]');
echo \Kminek\EmailObfuscator::obfuscate('[email protected]', 'Contact us');

About

Effective email obfuscation in PHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages