Skip to content

nthnptt/mailhog-symfony-poc

Repository files navigation

Mailhog/Symfony POC

About

Project to try using mailhog with symfony. This project has two goals:

  • Send mail from a basic form and catch it to mailhog
  • Use mailhog api to test Mailer without mock (don't mock what you don't own)

Requirements

  • Make
  • Docker

Usage

  • Start project :
make up
  • Init project :
make init
  • Go inside php container
make run

Tests

  • Launch tests :
make test
  • Launch phpunit watcher
make watch-test