Intro to DDEV for Laravel

Are you tired of spending time setting up your development on the local environment instead of creating solutions? If so, DDEV is the answer. DDEV is an open source tool for creating and running local web development environments in minutes. It supports PHP and Node.js.

It’s so simple you can follow the recipe below to get started:

  1. Install DDEV using the instruction at https://ddev.readthedocs.io/en/stable/users/install.
  2. Ensure Docker Desktop is running.
  3. In the laravel root directory run ddev config.
  4. Follow the instructions and ensure that the document root is set to Laravel’s public directory. Then run ddev start.
  5. Run migrations for the Laravel database ddev exec php artisan migrate .
  6. Now type and run ddev launch .

Easy as pie. Have fun!!

Don’t forget to support the project https://github.com/sponsors/ddev.

Leave a Reply

Your email address will not be published. Required fields are marked *