Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

PepijnSenders/GmailStripper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GmailStripper

Ever needed a check on your database to prevent all those scumbags from opting in 1000 times with fake and weird email addresses.

Now is the time to stop that, with this small plugin all gmail hacks will be history.

To install:

composer require pep/gmail-stripper

Usage:

GmailStripper::strip('[email protected]'); // [email protected]
GmailStripper::strip('[email protected]'); // [email protected]
GmailStripper::strip('[email protected]'); // [email protected]
GmailStripper::strip('[email protected]'); // [email protected]
GmailStripper::strip('[email protected]'); // [email protected]
GmailStripper::strip('[email protected]'); // [email protected]
GmailStripper::strip('[email protected]'); // [email protected]
GmailStripper::strip('[email protected]'); // [email protected]
GmailStripper::strip('[email protected]'); // [email protected]

Or add custom domains:

GmailStripper::strip('[email protected]', ['customdomain']); // [email protected]