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
public
directory is configured as your document root. - Run
composer install
to download dependencies. - Copy
.env.example
to.env
. - Run
php artisan key:generate
to 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.