Skip to content

Mailpit

Mailpit is widely used to catch emails which is sent from development code, it can be very helpful to test your email templates or email development.

You can access the panel at http://mails.test.

Enable Mailpit:

valet start mailpit

Disable Mailpit:

valet stop mailpit

SMTP Credentials for Mailpit

MAIL_MAILER=smtp
MAIL_HOST=0.0.0.0
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

Redis

Redis is automatically installed and listens on the default port 6379. The redis socket is located at /tmp/redis.sock

Enable Redis:

valet start redis

Disable Redis:

valet stop redis

IDE Support

Valet provides support to open current directory in your favourite editor with below commands:

PhpStorm:

valet ps

Visual Studio Code:

valet code

Atom:

valet atom

Sublime:

valet subl