Installing MailCarrier is just one command away!
- PHP - 8.1 or higher.
- Composer - The PHP dependency manager.
- Database - Could be MySQL, PostgreSQL or whatever you like.
1. Run the Setup Wizard
Run the following command in your terminal to start our handy install wizard.
curl "https://mailcarrier.app/create" | bash
It will clone a fresh Laravel application in a folder named
mailcarrier, install MailCarrier and the needed dependencies.
2. Setup your database
Once the first setup is over, go and edit your
.env file inside your brand new
mailcarrier application and edit the database environment variables according, for example:
To know more about database configuration, you can read it on Laravel docs.
3. Complete your installation
Inside your terminal run the last command to complete the process:
php artisan mailcarrier:install
It will install the dashboard and let you choose how would you like to authenticate your users.
4. Run MailCarrier
Inside your terminal run this command to spawn a web server for MailCarrier:
php artisan serve
Now open your browser, navigate to http://127.0.0.1:8000 and have fun!