Environment Variables

Run php artisan generate:key if you haven't done it yet.

  1. Setup up your default mailer by changing this parameters from your .env file

MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"
  1. Disable debugging errors by changing APP_DEBUG from True to False

APP_DEBUG=true
  1. Change your APP_NAME on your desire name or to your company name.

  2. Change your APP_URL based on your current domains.

  3. Change APP_ENV to Production

  4. Update your database connection credentials

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=recruit
DB_USERNAME=root
DB_PASSWORD=root

Last updated