DDEV is an open-source tool that simplifies local PHP development environments. It supports various CMSs and frameworks, including Drupal, WordPress, Laravel, and more. This guide will walk you through the process of getting DDEV installed and ensuring that other tools like Lando, Laravel Valet, and Apache do not cause conflicts.

By following the steps outlined in this guide, you can ensure that DDEV runs smoothly on your system without interference from other tools like Lando, Laravel Valet, or Apache. This setup will help you avoid common conflicts and create a stable development environment.

Getting DDEV Installed

Install DDEV by following along with their get started guide. DDEV recommends Orbstack as the Docker provider. To reduce complexity in debugging issues please Orbstack as well.

Run brew install mkcert nss so that SSL with DDEV works.

Ensuring Lando is Not Running

Lando and DDEV are both container-based tools that use Docker, and they can interfere with each other if they are running simultaneously.

Stop Lando Services

If you have any Lando projects running, stop them by navigating to each project directory and running: lando stop

Ensuring Laravel Valet is Not Running

Laravel Valet uses dnsmasq and runs a local web server that can conflict with DDEV.

To stop Valet, run the following command: valet stop

Removing Laravel Valet Completely

Since we no longer use Laravel Valet for local development, we recommend removing Valet entirely from your system to avoid conflicts with DDEV.

Uninstall Valet:

Run the following command to uninstall Valet: valet uninstall and follow the instructions provided.