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_DATABASE

    MySQL database name

  • MYSQL_HOSTNAME

    MySQL server host

  • MYSQL_PORT

    MySQL server port

  • MYSQL_USER

    MySQL username

  • MYSQL_PASSWORD

    MySQL password

  • DATABASE_URL

    Database connection URL

  • DRUPAL_HASH_SALT

    Hash salt for one-time links and passwords

  • DRUPAL_BASE_URL

    Site base URL

  • DRUPAL_ENV

    Environment name (dev/staging/prod)

  • TRUSTED_HOST_PATTERNS

    Trusted host patterns for security

  • DRUSH_OPTIONS_URI

    Drush site URI for CLI operations

  • FILE_PUBLIC_PATH

    Public files directory path

  • FILE_PRIVATE_PATH

    Private files directory path

  • FILE_TEMP_PATH

    Temporary files directory path

  • CONFIG_SYNC_DIRECTORY

    Configuration sync directory path

Official Drupal docs: www.drupal.org/docs