Requirements

To run Laravel Mail, your environment must meet a few minimum requirements:

Installing Laravel Mail

Install Dependencies

Once cloned, navigate to the project's root directory and run composer install to install Laravel Mail and its dependencies.

From here, you can move on to the Configuration & Setup step.

Webserver

You will need to use a webserver (for example, Apache or nginx), in order to host your Laravel Mail installation.

When setting up your webserver, it should be pointed to the public directory in order to correctly serve Laravel Mail.

For example, in nginx:

server {
    listen 80;
    server_name campaigns.example.com;
    root /var/www/campaigns.example.com/public;
}

For more detailed information, see the Laravel deployment documentation.