Stu Mason
Stu Mason

Activity

Pull Request Merged

PR #30 merged: feat: add Mailpit support for local email testing

Summary

Adds Mailpit support to the development environment for local email testing.

Changes

  • Added mailpit to concurrent dev commands with pink color (#f472b6)
  • Added automatic SMTP configuration for Mailpit in .env:
    • MAIL_MAILER=smtp
    • MAIL_HOST=127.0.0.1
    • MAIL_PORT=1025
  • Added --kill-signal=SIGKILL to concurrently command

Why --kill-signal=SIGKILL?

When using Ctrl+C to stop composer dev, mailpit doesn't respond quickly to SIGTERM, leaving orphaned processes that block port 8025 on the next run. SIGKILL ensures all processes terminate immediately.

Result

After installation, composer run dev will include mailpit:

  • Web UI available at http://localhost:8025
  • All development emails captured locally
  • No more digging through log files for verification links

Closes #25


Stu Mason + AI [email protected]

+25
additions
-2
deletions
1
files changed