Skip to content

Frameworks

A profile tells ddev-sync how to sync one kind of project: where the files are, where the database credentials come from, which rules anonymise the data and which commands finish the job. This page lists them.

Whether a profile has been checked against a real installation is recorded in profiles/VERIFIED.md. An unverified profile still works; it is just not yet known to be correct.

In order: --type on the command line, then project.type in your configuration, then the DDEV project type. The DDEV type must match exactly: typo3, laravel, wordpress, symfony, shopware6 or drupal. Any other DDEV type, such as php, uses the generic profile and says so as it starts.

The framework version comes from --framework-version, then project.version, then detection: composer.lock for the Composer frameworks and wp-includes/version.php for WordPress. Only TYPO3 has version-specific profiles. If there is none for your major version, the nearest lower one is used with a notice.

Every profile imports into the local DDEV database db, replacing it.

ProfileCredentials fromEnvironment file rewrittenFiles synced
TYPO3.env on the remote (TYPO3_DB_*)nopublic/fileadmin/, public/uploads/
Laravel.env on the remote (DB_*).envstorage/app/public/
Symfony.env.local or .env on the remote.env.local or .envpublic/uploads/
WordPressWP-CLI on the remotenowp-content/uploads/
Drupalyou (explicit credentials)noweb/sites/default/files/
Shopware.env.local or .env on the remote.env.local or .envpublic/media/, public/thumbnail/
genericyou (explicit credentials)nonone

Where the credentials come from is set by database.remote_credentials: env reads a .env file on the remote, wp_cli asks the remote’s WP-CLI, and explicit uses database.credentials, which needs all five of name, user, password, host and port. Put those in .ddev/ddev-sync/local.yaml, since they are secrets. ddev sync init can test and save them for you.

Detects: typo3/cms-core in composer.lock. Needs: nothing beyond SSH access and a .env on the remote that holds the TYPO3_DB_* variables.

Sanitize rules, in order: clear-be-sessions, clear-scheduler-tasks, clear-fe-sessions, clear-sys-log, anonymize-fe-users, reset-fe-passwords, anonymize-be-users, reset-be-passwords, local-admin and flush-cache.

Setup: composer install, vendor/bin/typo3 extension:setup, vendor/bin/typo3 cache:flush.

Verified: TYPO3 12 and 13 on stock installations (2026-10-27).

Environment file: none. A composer-installed TYPO3 ships no .env, because DDEV writes config/system/additional.php itself, so the profile does not rewrite one. If your project does use a .env, switch the rewrite on again in one line; you keep the profile’s file candidates and keys:

env:
strategy: patch_keys

Older versions behave differently:

  • TYPO3 11 has no command in core for creating a backend user, so its profile leaves out local-admin. After a sync, reset-be-passwords has made every backend password unusable, and nobody can log in. vendor/bin/typo3 backend:resetpassword is the way back in. Only the command list was checked against a real 11 installation; no sync was run.
  • TYPO3 9 and 10 create the local admin with typo3-console, so the project must require it. Their rules, notably the backend user ones, are not verified.

The optional typo3-processedfiles feature adds a rule clear-processed-files.

Detects: laravel/framework. Needs: a .env on the remote with DB_*.

What it does with the environment file: .env is rewritten in place. It points the database, mail and Redis at DDEV, sets APP_ENV=local, APP_DEBUG=true and APP_URL to the DDEV URL, and uses the file cache. QUEUE_CONNECTION=sync and SESSION_DRIVER=file are added only when the file does not declare them, so a project that keeps another queue or session driver keeps it.

Sanitize rules: clear-sessions, clear-jobs, clear-failed-jobs, anonymize-users and reset-user-passwords.

Setup: composer install, php artisan migrate --force, php artisan optimize:clear, php artisan storage:link.

Verified: Laravel 13 on a fresh skeleton (2026-10-27). The run used explicit credentials and a hand-written .env, so the credential and environment-file paths are least tested. Features node-build, filament, livewire, inertia and horizon are verified as well.

Detects: symfony/framework-bundle. Needs: DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD, DATABASE_HOST and DATABASE_PORT in the remote’s .env.local or .env. Rename them with database.env_map if yours differ.

Environment file: sets APP_ENV=dev, APP_DEBUG=1, the DATABASE_* values, DATABASE_URL and MAILER_DSN for DDEV.

Sanitize rules: anonymize-users, reset-user-passwords and clear-messenger. The user table is user unless database.symfony_user_table names another.

Setup: composer install, php bin/console doctrine:migrations:migrate --no-interaction, php bin/console cache:clear.

Verified: Symfony 7.4 with the ORM pack (2026-10-27).

Detects: the DDEV type; the version comes from wp-includes/version.php. Needs:

  • WP-CLI on the remote, since credentials and the table prefix are read with it. Without it, set explicit credentials.
  • sanitize.production_url, the production site’s URL, for rewrite-site-url. It must start with http:// or https://. Without it the run is refused before anything is touched.

Sanitize rules: rewrite-site-url, anonymize-users, reset-user-passwords and local-admin. The table prefix is read from production; database.wp_table_prefix overrides it.

Setup: wp cache flush. WP-CLI credentials are not available with the Docker provider, because the endpoint carries no PHP or WP-CLI; remote_credentials: wp_cli is refused there. Explicit credentials plus database.wp_table_prefix are not refused, but they are untested.

Verified: WordPress 7.1 with WP-CLI 2.12 (2026-10-27), including the table prefix read from a production host over SSH.

Detects: drupal/core. Needs explicit database credentials. The profile does not read them from Drupal’s settings: set database.credentials in .ddev/ddev-sync/local.yaml.

Sanitize rules: clear-sessions, clear-watchdog, anonymize-users, reset-user-passwords, local-admin and flush-cache. The local admin is created with Drush.

Setup: composer install, vendor/bin/drush updatedb --yes, vendor/bin/drush cache:rebuild.

Verified: Drupal 11.4 with the standard install profile and explicit credentials, which is the only path run (2026-10-27). Drupal 10 and 12 have not been run.

Detects: shopware/core, with the DDEV type shopware6. Needs: DATABASE_* variables in the remote’s .env.local or .env.

Sanitize rules: clear-mailer, local-domain, clear-plugins, clear-sessions, anonymize-customers and reset-customer-passwords.

Setup: composer install, then three commands that are allowed to fail: bin/console system:config:set core.mailerSettings.emailAgent local, cache:clear and plugin:refresh.

Not verified. The customer rules in particular have not run against a real installation.

The fallback for any DDEV type without a profile. It syncs the database only. It needs explicit credentials. It declares no file paths, so no files are synced, it has no sanitize rules, so production data arrives unanonymised, and it runs no setup commands. Add your own files.paths, sanitize.rules and setup.commands; those keys are listed in the configuration reference.

“Verified” means the profile’s own commands were run against a real installation by the project’s test matrix. Each is installed from scratch, given a production-shaped database and synced with all steps, and VERIFIED.md records per rule what kind of evidence there is: whether a command exists and exits cleanly, whether a truncate emptied a seeded table, whether anonymisation removed real addresses, whether the local admin was created. A rule that could only be exercised through its tolerance, because its table does not exist in a stock install, is recorded as such and not called verified.

A rule that has never run against a real installation can silently do nothing, so an unverified profile deserves a careful first run: use a target you can afford to get wrong, and check afterwards that the user table really was anonymised.

As of 2026-10-27:

ProfileVerified against
TYPO3 13TYPO3 13.4.37, stock cms-base-distribution, PHP 8.3
TYPO3 12TYPO3 12.4.45, stock cms-base-distribution, PHP 8.2
Laravellaravel/framework 13.38.0, PHP 8.3
Symfonysymfony/framework-bundle 7.4.21 with orm-pack, PHP 8.3
WordPressWordPress 7.1.3 with WP-CLI 2.12.0, PHP 8.3
DrupalDrupal 11.4.11, recommended-project, standard install profile, PHP 8.3
Not verifiedWhat that means for you
TYPO3 9, TYPO3 10Never run against a real installation. Their backend user rules in particular are untested.
TYPO3 11Only the command list was checked, and its local-admin rule is absent.
ShopwareNever run. The customer rules name columns nobody has checked.

The features node-build, filament, livewire, inertia, horizon, typo3-processedfiles and symfony-search have each been run against a real installation as well. VERIFIED.md also lists the known limitations: the database password is visible in the remote’s process list for the duration of the dump, and the engine image is built for amd64 and arm64 but only amd64 is covered by the matrix. DDEV projects on MariaDB are supported; MySQL 8.0 projects are not.

Targets covers the connection; Syncing covers what a run does.