Registry / testing / tightenco-mailthief

tightenco-mailthief

JSON →
library0.3.14phppackagistunverified

A fake Mailer for Laravel applications that takes the pain out of testing mail.

composer require tightenco/mailthief
INSTALL
IMPORT
SIG · TIGHTENCO-MAILTHIE
T
tightenco-mailthief
testingphpv0.3.14
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MailThief
✓ use Tightenco\MailThief\MailThief;

Swap Laravel's mailer with MailThief for testing.

use Tightenco\MailThief\MailThief; $mailer = new MailThief(); Mail::swap($mailer); // Now send mail in tests, it will be intercepted.
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.14latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
tightenco-mailthief — pip install tightenco-mailthief · libregistry