Skip to main content

Scotchbox and Mailhog

I'm very comfortable with Scotchbox as Vagrantbox for my local development. I did some changes in my provision file to install the php version I want and phpmyadmin but with scotchbox I'm really fast in starting a new project and it runs reliable and well. 

For testing the mailsend functions of the website Scotchbox comes with mailhog installed - but as I change the php version I have to set mailhog as sendmail in the php.ini in use ...

sendmail_path = /usr/bin/mhsendmail

And as a note: mailhog is accessible with the IP of the vagrant box (I use to change it) and the port :8025 ... so http://192.168.33.10:8025/ for example