Framework support
Dotvault for Drupal
Dotvault for Drupal projects.
Drupal is one of the frameworks Dotvault detects automatically. Point Dotvault at your project folder and it'll identify Drupal from your package manifest, surface the common environment variables it uses, and give you the visual editor, snapshot history, and diff tools you need to manage them properly.
What you get
- → Automatic detection of Drupal from your project's manifest.
- → Visual editor with syntax highlighting, validation, and smart warnings.
- → Snapshot history so you can roll back any change.
- → Diff view across environments to catch drift.
- → Works entirely on your Mac — no accounts, no cloud, no CLI required.
Known environment variables
Dotvault recognises these variables when you open a Drupal project and surfaces helpful descriptions and warnings in the editor. Drupal is detected via `drupal/core-recommended` in composer.json.
-
MYSQL_DATABASEMySQL database name
-
MYSQL_HOSTNAMEMySQL server host
-
MYSQL_PORTMySQL server port
-
MYSQL_USERMySQL username
-
MYSQL_PASSWORDMySQL password
-
DATABASE_URLDatabase connection URL
-
DRUPAL_HASH_SALTHash salt for one-time links and passwords
-
DRUPAL_BASE_URLSite base URL
-
DRUPAL_ENVEnvironment name (dev/staging/prod)
-
TRUSTED_HOST_PATTERNSTrusted host patterns for security
-
DRUSH_OPTIONS_URIDrush site URI for CLI operations
-
FILE_PUBLIC_PATHPublic files directory path
-
FILE_PRIVATE_PATHPrivate files directory path
-
FILE_TEMP_PATHTemporary files directory path
-
CONFIG_SYNC_DIRECTORYConfiguration sync directory path
Official Drupal docs: www.drupal.org/docs