vscode-laravel-artisan
vscode-laravel-artisan copied to clipboard
Homestead development
Hello!
I'd like to ask if there is any way to use this extension with Homestead properly? If I use the Config Cache or Config Refresh artisan command, my application always shows an UnexpectedValueException Protocol Error exception whenever I try to load a page. I assumed that happens because the command will need to be executed inside the VM. Well. of course, I could execute php artisan config:cache
manually via SSH, but I'd rather use this extension.
So there is any way to call into play this ext, or I have to manually modify the source code? 😄
Thanks for everyone for the answer in advance!
I have made some updates to the extension. You can now add these additional settings:
- Set a custom php location, example:
-
"artisan.php.location": "/path/to/php.exe"
-
- Added addition artisan paths, examples:
-
"artisan.location": ["/path1/artisan", "/path2/artisan"]
-
"artisan.location": "/path/artisan"
-
Try setting them with this update and let me know if it works for you:
I cannot tell the extesnion with these settings for example SSH-ing to the VM and run the command inside the VM, or something like that. I didn't have a second artisan file
Hi, i try to work with your extension, but i cant, because i always get errors... For example, if i write: Artisan Command List, i get: Couldnt get the list, the fields "artisan.php.location" and "artisan.location" arent empty
and i made your last update: laravel-artisan-0.0.22.vsix.zip
Not one to usually revive old threads but Homestead support would be fantastic. Most of my artisan commands at this point end up being migration related, but I use Homestead so I need to be SSH'd into Homestead to run these,
Perhaps add config setting per workspace for SSH details and directory of the project on the remote server?
Marking issue as stale since there has'nt been any activity recently.