Skip to content

[//sponsors] 1 MIN READ #ddev

DDEV: local PHP without the yak shave

One command for a full PHP stack per project, with HTTPS, and nothing installed on the host but Docker.

Placeholder review: replace it with your own words (and link with your referral URL).

Every project gets its own PHP version, web server and database, defined in the repository, so the whole team runs the same stack. Switching projects is a ddev stop away.

Getting started

  1. Install Docker and DDEV.
  2. Run ddev config in the project folder.
  3. Run ddev start, then ddev launch.
ddev config --project-type=php --docroot=public
ddev start
ddev composer install

The best local setup is the one nobody on the team has to think about.

What we like

  • HTTPS on a real local domain, out of the box.
  • Commands run inside the container: ddev composer, ddev npm.
  • Add-ons for anything else the project needs.

< back to sponsors_