Framework support
Dotvault for Laravel
A proper .env editor for Laravel apps.
Laravel projects live and die by their .env file. Database credentials, mail drivers, queue connections, a dozen third-party API keys — it's where everything plugs in. Dotvault gives you a visual editor that actually understands Laravel conventions, detects common packages from your composer.json, and warns you when something looks off.
What you get
- → Automatic detection from composer.json — Laravel, Cashier, Sanctum, Scout, Nova, Horizon, Telescope, and more.
- → Full native support for Laravel encrypted env files (AES-256-CBC and AES-128-CBC, Standard and Readable formats). Unlock once, edit in place, no decrypt/reencrypt cycle.
- → Path-scoped encryption keys stored in your macOS keychain — survive file renames and repo re-adds.
- → Smart warnings for common Laravel misconfigurations: missing APP_KEY, mismatched APP_URL, exposed debug flags in production.
- → Works alongside Laravel Vapor, Forge, and plain VPS deployments. No vendor lock-in.
Known environment variables
Dotvault recognises these variables when you open a Laravel project and surfaces helpful descriptions and warnings in the editor. Laravel is detected via `laravel/framework` in composer.json.
-
APP_NAMERequiredApplication name
-
APP_ENVRequiredApplication environment (local/production)
-
APP_KEYRequiredApplication encryption key
-
APP_DEBUGRequiredDebug mode toggle
-
APP_URLRequiredApplication base URL
-
APP_TIMEZONEApplication timezone
-
APP_LOCALEApplication locale
-
APP_FALLBACK_LOCALEFallback locale when translation is missing
-
APP_FAKER_LOCALEFaker locale for database seeding
-
APP_MAINTENANCE_DRIVERMaintenance mode driver (file/cache)
-
APP_MAINTENANCE_STORECache store for maintenance mode
-
BCRYPT_ROUNDSBcrypt hashing rounds
-
LOG_CHANNELLogging channel (stack/single/daily)
-
LOG_STACKChannels for the stack log driver
-
LOG_DEPRECATIONS_CHANNELChannel for deprecation warnings
-
LOG_LEVELMinimum log level
-
PAPERTRAIL_URLPapertrail log destination URL
-
PAPERTRAIL_PORTPapertrail log destination port
-
DB_CONNECTIONRequiredDatabase driver (mysql/pgsql/sqlite)
-
DB_HOSTDatabase host
-
DB_PORTDatabase port
-
DB_DATABASEDatabase name
-
DB_USERNAMEDatabase username
-
DB_PASSWORDDatabase password
-
DB_COLLATIONDatabase collation
-
CACHE_STORECache driver (file/redis/memcached)
-
CACHE_PREFIXCache key prefix
-
MEMCACHED_HOSTMemcached host
-
SESSION_DRIVERSession driver (file/cookie/database/redis)
-
SESSION_LIFETIMESession lifetime in minutes
-
SESSION_ENCRYPTEncrypt session data
-
SESSION_PATHSession cookie path
-
SESSION_DOMAINSession cookie domain
-
SESSION_SECURE_COOKIEHTTPS-only session cookies
-
SESSION_COOKIESession cookie name
-
SESSION_CONNECTIONDatabase connection for session driver
-
SESSION_STORECache store for session driver
-
QUEUE_CONNECTIONQueue driver (sync/database/redis/sqs)
-
SQS_PREFIXAmazon SQS queue URL prefix
-
MAIL_MAILERMail driver (smtp/mailgun/ses)
-
MAIL_SCHEMEMail transport scheme (smtp/smtps)
-
MAIL_HOSTSMTP host
-
MAIL_PORTSMTP port
-
MAIL_USERNAMESMTP username
-
MAIL_PASSWORDSMTP password
-
MAIL_ENCRYPTIONSMTP encryption (tls/ssl)
-
MAIL_FROM_ADDRESSDefault from address
-
MAIL_FROM_NAMEDefault from name
-
MAIL_EHLO_DOMAINSMTP EHLO domain
-
REDIS_CLIENTRedis client (phpredis/predis)
-
REDIS_HOSTRedis host
-
REDIS_PASSWORDRedis password
-
REDIS_PORTRedis port
-
REDIS_URLRedis connection URL
-
BROADCAST_CONNECTIONBroadcast driver
-
BROADCAST_DRIVERBroadcast driver (legacy, pre-Laravel 11)
-
FILESYSTEM_DISKDefault filesystem disk
-
AWS_ACCESS_KEY_IDAWS access key (for S3/SES/SQS)
-
AWS_SECRET_ACCESS_KEYAWS secret key
-
AWS_DEFAULT_REGIONAWS region
-
AWS_BUCKETS3 bucket name
-
AWS_ENDPOINTCustom AWS endpoint URL
-
AWS_USE_PATH_STYLE_ENDPOINTUse path-style S3 endpoints
-
AWS_URLCustom URL for S3 assets
-
PUSHER_APP_IDPusher app ID
-
PUSHER_APP_KEYPusher app key
-
PUSHER_APP_SECRETPusher app secret
-
PUSHER_APP_CLUSTERPusher cluster
-
PUSHER_HOSTPusher host (for self-hosted)
-
PUSHER_PORTPusher port
-
PUSHER_SCHEMEPusher scheme (http/https)
-
VITE_APP_NAMEClient-exposed variable (Vite/Laravel)
Official Laravel docs: laravel.com/docs