Thanks for sharing :)
In case some want an alternative to sendmail (instead of smtp), I've done this small stuff : https://github.com/SebSept/fakesendmail
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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
Please or to participate in this conversation.