Use MailSlurp's free PHP email API to send and receive real emails in code and tests. Install with composer or download and vendor the library. Compatible with Laravel, Symfony, Wordpress and more. Create test email accounts, listen for inbound emails, process attachments and more in PHP.

Installing MailSlurp in PHP

If you use the composer package manager you can run

Or add it to your composer.json file:

Basic usage (creating an email address)

To create a new email address use the inbox controller:

Get started

To take the next step sign up for a free account and read the documentation: