laravel 🚀
php 🚀
homestead 🚀
Laravel Homestead and MailCatcher

Using MailCatcher I can see the emails sent by the website.

First checkout to get your box ready
All I did was

Log into the vagrant box and run

sudo apt-get install libsqlite3-dev


sudo apt-get install ruby1.9.1-dev -y
sudo gem install mailcatcher


sudo gem install mailcatcher -V

Set your mail.php config

This is found in app/config and should be copied to app/config/local so it only applies to local

return array(

	'driver' => 'smtp',
	'host' => '',
	'port' => 1025,
        'from' => array('address' => '', 'name' => 'Foo Bar'),
        'encryption' => '',
//    'username' => null,
//    'password' => null,


Finally reload vagrant

vagrant reload

And start up mailcatcher inside of vagrant.

mailcatcher --ip=

And you are set. works