Skip to content

Instantly share code, notes, and snippets.

@throne1986
Forked from prappo/.env
Created September 2, 2018 11:48
Show Gist options
  • Save throne1986/680e6ef7fa091686f0b1a663164ab84b to your computer and use it in GitHub Desktop.
Save throne1986/680e6ef7fa091686f0b1a663164ab84b to your computer and use it in GitHub Desktop.
env file for Laravel postgresql database
APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:hyHUpukUUigKeEsxpGeTW4UZ+Lg+WAWxcc4/BjlgNtE=
APP_URL=http://localhost
DB_CONNECTION=pgsql
DB_HOST=hostname
DB_PORT=5432
DB_DATABASE=Your database name
DB_USERNAME=Your database username
DB_PASSWORD=Your database password
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment