Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (19 loc) · 801 Bytes

readme.md

File metadata and controls

25 lines (19 loc) · 801 Bytes

Laravel Homestead

The official Laravel local development environment.

Official documentation is located here.

Mailcatcher setup

This homestead image also installs Mailcatcher for easy mail delivery during local development.

To activate Mailcatcher in your laravel app

Create app/config/local/mail.php and add the following:

<?php
// mailcatcher setup
return array(
    'driver' => 'smtp',
    'host' => 'localhost',
    'port' => 1025,
    'encryption' => '',
    'from' => array('address' => '[email protected]', 'name' => 'Sender')
);

Open up a browser pointing to your homestead box ip and port 10800 (f.e. http://site.dev:10800/) and you have an instant inbox to all mail sent from your app.