If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.
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.
Adds the DDEV providers production and staging for Craft CMS sites.
.ddev/vlaaibaar/sync/production.env and staging.env (created on install, commit them to the project).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:
php craft db/backup / db/restore on the server, so no database passwords are needed locally. After a push, php craft up runs.upload_dirs (set in .ddev/config.yaml).If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.