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:
- Install DDEV using the instruction at
https://ddev.readthedocs.io/en/stable/users/install
. - Ensure Docker Desktop is running.
- In the laravel root directory run
ddev config
. - Follow the instructions and ensure that the document root is set to Laravel’s
public
directory. Then runddev start
. - Run migrations for the Laravel database
ddev exec php artisan migrate
. - Now type and run
ddev launch
.
Easy as pie. Have fun!!
Don’t forget to support the project https://github.com/sponsors/ddev.