Remote php interpreter Laravel root directory problem
See original GitHub issueStange problem here :
My setup is as follow : my php interpreter is “remote” : ssh connection to a local running VM
It so happens that when i try to run the tinker console, I got this phpstorm notification : “The configured laravel root is not a directory Please check if it’s the right path. Using a guessed vendor path for now.”
The strange thing is that if I take the path in “Laravel root folder”, and put “cd path” in my .bashrc, it actually works, which means that the directory definetely exists.
I looked in the repository and came to this (PhpArtisanTinkerUtil.kt line 56)
if (projectSettings.laravelRoot.isNotEmpty()) {
val customLaravelRoot = File(projectSettings.laravelRoot)
if (customLaravelRoot.exists() && customLaravelRoot.isDirectory) {
val customComposerDir = File(customLaravelRoot.path + "/vendor")
if (customComposerDir.exists() && customComposerDir.isDirectory) {
laravelRoot = projectSettings.laravelRoot
} else {
LaravelRootDoesNotHaveVendorBalloon(project).show()
}
} else {
LaravelRootDoesNotExistBalloon(project).show()
}
}
As far as I understand it (not that much), this is for local php interpreter, and I didn’t find anything related to remote : did I missed something ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
2.0.0 fails when used with Homestead Remote PHP interpreter
I am using a remote PHP interpreter through Laravel Homestead. ... But when I started poking around the path mappings I found the...
Read more >Configure remote PHP interpreters | PhpStorm Documentation
Press Ctrl+Alt+S to open the IDE settings and select PHP. On the PHP page that opens, click the Browse button next to the...
Read more >How to debug php artisan serve in PHPStorm? - Stack Overflow
... Check Use route script and select server.php in Laravel projects root directory. Interpreter options: -dxdebug.remote_enable=1 ...
Read more >Laravel Sail - Laravel - The PHP Framework For Web Artisans
This command will publish Sail's docker-compose.yml file to the root of your ... you may add this to your shell configuration file in...
Read more >PhpStorm, Docker and Xdebug 3 on PHP 8.1 in 2022
In this part of the tutorial series on developing PHP on Docker we will set ... We will configure a remote PHP interpreter...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Guilhem-DELAITRE Text is changed in the next release 😃
This issue is now released and accepted! You can update via your IDE plugins settings 😃