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_NAMERequiredDatabase name
-
DB_USERRequiredDatabase username
-
DB_PASSWORDRequiredDatabase password
-
DB_HOSTRequiredDatabase host
-
DB_PREFIXDatabase table prefix
-
WP_ENVWordPress environment
-
WP_HOMEHome URL
-
WP_SITEURLSite URL
-
WP_DEBUGEnable WordPress debug mode
-
WP_DEBUG_LOGWrite debug output to log file
-
WP_DEBUG_DISPLAYDisplay debug errors on screen
-
WP_CACHEEnable advanced caching
-
DISABLE_WP_CRONDisable WP-Cron (use real cron instead)
-
WP_POST_REVISIONSMax number of post revisions to keep
-
AUTOSAVE_INTERVALAutosave interval in seconds
-
AUTH_KEYWordPress authentication salt key
-
SECURE_AUTH_KEYWordPress secure auth salt key
-
LOGGED_IN_KEYWordPress logged-in salt key
-
NONCE_KEYWordPress nonce salt key
-
AUTH_SALTWordPress auth salt
-
SECURE_AUTH_SALTWordPress secure auth salt
-
LOGGED_IN_SALTWordPress logged-in salt
-
NONCE_SALTWordPress nonce salt
Official WordPress docs: developer.wordpress.org