carlof/emailreaper

A single-class PHP library to extract emails from webpage or plain text file

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/carlof/emailreaper

dev-master 2020-05-04 07:49 UTC

This package is auto-updated.

Last update: 2025-10-04 19:30:28 UTC


README

A single-class PHP library to extract emails from webpage or plain text file.

HOW TO USE IT

copy & paste the following code

require_once "emailReaper.php";

$url = 'url-to-search-for-emails'; // url or the path to the file

$reaper = new carloF\EmailReaper($url);

PUBLIC METHODS

$reaper->getEmails() - return an array of found emails.

$reaper->printEmails() - echoes a list of found emails.

$reaper->exportEmails($destFile) - save the list in a file ($destFile)