plugin
plugin copied to clipboard
[Bug]: can not create a new project with the wizard and a docker php interpreter
Bug description
I can not create a new Laravel project via the wizard and a Docker PHP interpreter, I can fill in the wizard form and start the project creation process.
I get the message "Laravel is installed", but no Laravel code is actually generated. This makes sense based on the log file.
Composer downloaded
Unable to install Laravel Core
Unable to find composer.json file
No artisan commands to run
Project installation cleanup completed
Plugin version
10.2.1.251
Operating system
Windows 11 / WSL2 (Ubuntu-22.04)
Steps to reproduce
- File -> New project
- Select 'Laravel'
- Select a location, example:
\\wsl.localhost\Ubuntu-22.04\home\<user-name>\www\testProject - Clicked on the 3 dots
- Click on the '+' to create a new PHP interpreter
-
- From Docker, Vagrant, VM, WSL, Remote...
-
- Select radio button 'Docker'
-
- Image: laravelsail/php83-composer:latest
- Select the created PHP interpreter
- Leave other options empy
- Click on the 'create' button
- Get the message 'Laravel is installed'
Composer project wizard is also unable to create installation using docker without defining path mappings, and for some reason phpStorm hides this UI when outside of the project. I'll take a look if I can define mapping programmatically or we well discuss this with phpStorm team