Just some notes about DDEV
ddev snapshot --name=seed
ddev delete
ddev start
Addons for base Drupal configurations
Descriptions of 4 common ways to setup DDEV
| Add-on | Best for | Typical project layout |
|---|---|---|
UltraBob/ddev-drupal-code-quality | Full Drupal website projects where your site repo already contains Drupal code and custom code. | Existing site/project repo; installs code-quality configs and IDE shims in-place. |
ddev/ddev-drupal-contrib | Drupal contrib module/theme development where the contrib project is the center of the repo. | Contrib project repo with Drupal scaffolded around it (symlink workflow). |
justafish/ddev-drupal-core-dev / joachim-n/ddev-drupal-core-dev | Drupal core development. | Drupal core checkout or core-dev project template. |
| https://addons.ddev.com/addons/amateescu/ddev-drupal-dev | Drupal core and contrib combined, see below | core git checkout as the project root. |
DDEV Drupal Dev from Andrei Mateescu of Tag1
A DDEV add-on for working on Drupal core and contrib modules together, using a core git checkout as the project root.
Other add-ons target either core or contrib in isolation. This one is for when you need both: developing a contrib module against the latest core, fixing a core bug that affects contrib, or running contrib tests on a core patch.
Extra dependencies (contrib modules, Drush, dev tools) are managed through a composer.local.json overlay, keeping core's composer.json and composer.lock untouched.
"You can work on multiple modules this way; each gets its own git checkout that you can commit and push to independently."