Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.

vlaaibaar/ddev-addon

Shared DDEV features for Vlaaibaar projects. Install or update in a project with:

ddev add-on get vlaaibaar/ddev-addon
ddev restart

Updating overwrites only the add-on’s own files (marked #ddev-generated). Project settings are never overwritten.

Sync: pull/push database and uploads

Adds the DDEV providers production and staging for Craft CMS sites.

  1. Fill in .ddev/vlaaibaar/sync/production.env and staging.env (created on install, commit them to the project).
  2. Use it:
ddev auth ssh                       # once per session
ddev pull production                # DB + uploads -> local
ddev pull staging --skip-files      # DB only
ddev pull staging --skip-db         # uploads only
ddev push staging                   # local DB + uploads -> staging
ddev push staging --skip-files      # DB only
ddev push staging --skip-db         # uploads only

Add -y to skip the confirmation prompt.

Setting Meaning
SSH_HOST user@host of the server (SSH keys handle authentication)
REMOTE_PATH Folder with the craft executable. Relative paths start from the SSH user’s home folder
REMOTE_UPLOADS Uploads folder on the server
ALLOW_PUSH true allows ddev push. Created as false for production, true for staging

How it works:

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.