DDEV with Drupal

Create a new DDEV project

 ddev config --project-type=drupal8
 ddev config --project-type=drupal7

Using Drush commands

ddev drush xxx

Using xhprof

ddev xhprof on

Using xdebug

ddev xdebug on

Import database

Import a database with a single command, from one of the following file formats:
.sql, .sql.gz, .mysql, .mysql.gz, .tar, .tar.gz y .zip

ddev import-db --src=dumpfile.sql.gz

Using phpmyadmin

You can use phpMyAdmin to view the database data. It can also be used to import or export the database, but keep in mind that doing it this way is slower. To use phpMyAdmin you need to use port 8036 or 8037, depending on whether you're accessing via http or https.

So you can access it using a URL like: https://<yourproject>.ddev.site:8037

Integration with PHPStorm

It allows us to interact with DDEV containers. https://plugins.jetbrains.com/plugin/18813-ddev-integration

Other very useful information about DDEV and Drupal

You can find it on Escuela Drupal

Need a Drupal Expert?

Senior Drupal developer, freelance, specialized in what's hardest: migrations, multilingual sites, SaaS platforms and Stripe integration. I leverage AI to cut delivery times and costs, with expert review on every line of code.

No agency, no middlemen. Direct contact with the one who does the work.