Requirements
- Apache (or other web server with appropriate rewrite rules configured)
- PHP 7.2
- Composer
Installation
- Host this repo on your web server (e.g. forms.yourdomain.com) by running
git clone https://github.com/formgate/formgate - Ensure the
publicdirectory is configured as your document root. - Run
composer installto download dependencies. - Copy
.env.exampleto.env. - Run
php artisan key:generateto generate your app key and continue configuration.
Configuration
One you have followed the installation options above it is time to configure Formgate. You should open your .env file and set up the variables as necessary. The RECIPIENT_ALLOW_LIST should contain a comma separated list of email addresses that can be used in the _recipient form field. If an email that is not in this list is used in the field then the email not send and an exception will be thrown.