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_ENV Required

    Application environment (dev/prod/test)

  • APP_SECRET Required

    Application secret for CSRF tokens

  • APP_DEBUG

    Debug mode toggle

  • DEFAULT_URI

    Base URL for CLI-generated URLs

  • DATABASE_URL Required

    Doctrine database connection URL

  • MESSENGER_TRANSPORT_DSN

    Messenger transport DSN

  • MAILER_DSN

    Mailer transport DSN

  • LOCK_DSN

    Lock component DSN (semaphore/flock/redis)

  • NOTIFIER_DSN

    Notifier transport DSN

  • MERCURE_URL

    Mercure hub publish URL

  • MERCURE_PUBLIC_URL

    Mercure hub public subscribe URL

  • MERCURE_JWT_SECRET

    Mercure JWT secret for publishing

  • TRUSTED_PROXIES

    Trusted reverse proxy IPs

  • TRUSTED_HOSTS

    Trusted hostnames regex pattern

  • CORS_ALLOW_ORIGIN

    Allowed CORS origin regex

  • HTTP_PORT

    HTTP port for URL generation

  • HTTPS_PORT

    HTTPS port for URL generation

  • REDIS_URL

    Redis connection URL for cache/session

  • MEMCACHED_URL

    Memcached connection URL

  • SENTRY_DSN

    Sentry data source name

Official Symfony docs: symfony.com/doc/current