-
-
Notifications
You must be signed in to change notification settings - Fork 27
PhpStorm Setup
Shyim edited this page May 18, 2022
·
2 revisions
Here is a quick guide to Setup PhpStorm Docker Support
- Go to Settings -> PHP
- Edit CLI Interpreter
- Add a new Interpreter with +
- Choose Docker and then Docker-Compose
- Configure it
- The configuration file is
/tmp/swdc-docker-compose.yml
- Choose as service
cli
- Add to environment variables
COMPOSE_PROJECT_NAME=shopware-docker
- The configuration file is
- Save it
Now set the new interpeter as default for this repository and anything should work like local development
As PhpStorm is broken with docker-compose v2. You have to install docker-compose switch maybe: https://github.com/docker/compose-switch