Framework support
Dotvault for Symfony
Dotvault for Symfony projects.
Symfony is one of the frameworks Dotvault detects automatically. Point Dotvault at your project folder and it'll identify Symfony 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 Symfony 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 Symfony project and surfaces helpful descriptions and warnings in the editor. Symfony is detected via `symfony/framework-bundle` in composer.json.
-
APP_ENVRequiredApplication environment (dev/prod/test)
-
APP_SECRETRequiredApplication secret for CSRF tokens
-
APP_DEBUGDebug mode toggle
-
DEFAULT_URIBase URL for CLI-generated URLs
-
DATABASE_URLRequiredDoctrine database connection URL
-
MESSENGER_TRANSPORT_DSNMessenger transport DSN
-
MAILER_DSNMailer transport DSN
-
LOCK_DSNLock component DSN (semaphore/flock/redis)
-
NOTIFIER_DSNNotifier transport DSN
-
MERCURE_URLMercure hub publish URL
-
MERCURE_PUBLIC_URLMercure hub public subscribe URL
-
MERCURE_JWT_SECRETMercure JWT secret for publishing
-
TRUSTED_PROXIESTrusted reverse proxy IPs
-
TRUSTED_HOSTSTrusted hostnames regex pattern
-
CORS_ALLOW_ORIGINAllowed CORS origin regex
-
HTTP_PORTHTTP port for URL generation
-
HTTPS_PORTHTTPS port for URL generation
-
REDIS_URLRedis connection URL for cache/session
-
MEMCACHED_URLMemcached connection URL
-
SENTRY_DSNSentry data source name
Official Symfony docs: symfony.com/doc/current