Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vjacob's avatar
Level 15

Mailhog, alternative for Mailcatcher

Mailhog is an alternative for Mailcatcher that doesnt require any special dependencies like Ruby, so installation is very fast! Just download the binary and run it.

Here is a bash installation script: https://gist.github.com/varghesejacob/68caf7aeee53305a1ffa#file-mailhog-bash-script

Here is a PHPUnit Test Helper trait (requires guzzlehttp/guzzle and phpunit/phpunit): https://gist.github.com/varghesejacob/6113ac971a00611015c5#file-mailhog-test-helper

0 likes
3 replies
afrayedknot's avatar

Just wanted to say MailHog is awesome. It fits in seemlessly with Homestead, and no extra installs!

Have you considered speaking to Taylor to see if it could be included in Homestead by default? Seems like a great starting system for most people...

1 like

Please or to participate in this conversation.