Framework support

Dotvault for WordPress

Dotvault for WordPress projects.

WordPress is one of the frameworks Dotvault detects automatically. Point Dotvault at your project folder and it'll identify WordPress 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 WordPress 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 WordPress project and surfaces helpful descriptions and warnings in the editor. WordPress is detected via `wp-config.php` in the project root.

  • DB_NAME Required

    Database name

  • DB_USER Required

    Database username

  • DB_PASSWORD Required

    Database password

  • DB_HOST Required

    Database host

  • DB_PREFIX

    Database table prefix

  • WP_ENV

    WordPress environment

  • WP_HOME

    Home URL

  • WP_SITEURL

    Site URL

  • WP_DEBUG

    Enable WordPress debug mode

  • WP_DEBUG_LOG

    Write debug output to log file

  • WP_DEBUG_DISPLAY

    Display debug errors on screen

  • WP_CACHE

    Enable advanced caching

  • DISABLE_WP_CRON

    Disable WP-Cron (use real cron instead)

  • WP_POST_REVISIONS

    Max number of post revisions to keep

  • AUTOSAVE_INTERVAL

    Autosave interval in seconds

  • AUTH_KEY

    WordPress authentication salt key

  • SECURE_AUTH_KEY

    WordPress secure auth salt key

  • LOGGED_IN_KEY

    WordPress logged-in salt key

  • NONCE_KEY

    WordPress nonce salt key

  • AUTH_SALT

    WordPress auth salt

  • SECURE_AUTH_SALT

    WordPress secure auth salt

  • LOGGED_IN_SALT

    WordPress logged-in salt

  • NONCE_SALT

    WordPress nonce salt

Official WordPress docs: developer.wordpress.org