- A project can run inside DDEV Docker containers if
./.ddev/folder is in project root. - You MUST execute all commands through DDEV when available.
- ALWAYS check if DDEV is available in the current project folder FIRST with
ddev --versionbefore attempting any commands. - Only use DDEV if the
.ddevfolder exists in the current project. - Prioritize running
ddev describeto check service status BEFORE runningddev start.- Use
ddev describeto validate if services are running - Only run
ddev startif services are not running or if explicitly needed
- Use
- Stop services using
ddev stop. - Open the application in the browser by running
ddev launch [path, ex: /login].- Always prefix PHP, Artisan, Composer, and Node commands with
ddev. Examples: - Run Artisan Commands:
ddev artisan - Install Composer packages:
ddev composer install - Execute Node commands:
ddev exec npm run dev - Execute PHP scripts:
ddev php [script]
- Always prefix PHP, Artisan, Composer, and Node commands with
- View all available DDEV commands by running
ddevwithout arguments.
Last active
February 17, 2026 12:30
-
-
Save bmoex/bcf5bfc9612f03798ceb62a5be1385f6 to your computer and use it in GitHub Desktop.
DDEV local development guidelines
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment