Environment Configuration

Environment configuration requires many changes but just for the beginning we will need only several configurations:

Applications Name & URL

These are the first config you have to change.

APP_NAME=Application Name i.e QuickRecruit, Something etc
APP_ENV=production
APP_URL=Your website url goes here

Database

Get the credentials from previously created database and add in the environment file as below

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=Your database name
DB_USERNAME=Your database username
DB_PASSWORD=Your database password

Mail Server

You must have to setup SMTP related settings. SMTP settings are used for email sending to candidates, contact and recruiter.

MAIL_DRIVER=smtp
MAIL_HOST=smtp.dummy.net
MAIL_PORT=SMTP PORT
MAIL_USERNAME=SMTP Username
MAIL_PASSWORD=SMTP Password
MAIL_ENCRYPTION=SMTP Protocol
MAIL_FROM_ADDRESS=dummy@yourdomain.com

Email are send against following in-app events:

  • 1

  • 2

  • 3

  • 4

  • 5

After making above changes your .env file should look like this:

Full list of environment variables

Last updated

Was this helpful?