ddev

Manage DDEV local development environments with lifecycle and database commands.

1|Updated Jan 27, 2015
One-click install
npx skills add https://github.com/Numkil/dotfiles --skill ddev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ddev
Source: https://github.com/Numkil/dotfiles/tree/main/pi/agent/skills/ddev
Command: npx skills add https://github.com/Numkil/dotfiles --skill ddev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DDEV project management is streamlined by providing commands to start, stop, configure, debug, and interact with DDEV containers and databases from the project root.

Core Features & Use Cases

  • Lifecycle management: Start, stop, restart, or power off DDEV projects to preserve data while removing unnecessary resources.
  • Container & DB access: Run commands inside web and database containers, view status and connection details, and export/import databases.
  • Developer workflow integration: Manage Composer/npm/yarn, launch DDEV projects in a browser, and snapshot or restore databases for safe testing.

Quick Start

Run ddev start from your project root to initialize and expose the project environment.

Frequently Asked Questions about ddev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start and stop a local PHP development environment using Docker containers?

You can orchestrate DDEV projects locally by running lifecycle commands to start, stop, restart, or power off PHP development environments, which preserves data while removing unnecessary Docker container resources.

Can I run Composer, npm, and yarn commands inside my local development containers?

Yes, you can execute Composer, npm, and yarn commands directly inside your local development containers to manage dependencies and streamline your developer workflow without needing local installations.

How do I query and export databases in a local Docker-based PHP project?

You can access database containers to query databases, export or import data, and view connection details for your local Docker-based PHP project directly from the project root directory.

What is the best way to safely test database changes in a local development environment?

The best way to safely test database changes is to create and restore database snapshots, allowing you to revert modifications and preserve your local development environment state during testing.

How do I view logs and debug container services in a local PHP project setup?

You can debug local PHP project setups by viewing container logs, checking service status, and running commands directly inside web or database containers to troubleshoot issues effectively.