-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Vendor packages not found #247
Comments
This is strange. Is the output displayed in the tinker toolwindow? How are you executing the code? It feels like the tinker plugin is not handling your code here, but something else is. |
Yes the output is displayed in the tinker toolwindow. I click on the green right arrow. Output https://3v4l.org/jjukv Yes exactly, I have the same impression.... |
When I ran something like <?php
echo 'hello world'; it's working, but as soon as I import something from my project it doesn't work anymore. It just seems that the code is running in remote and not in local as I would like |
So, the issue is, that the interpreter you are using should also have all the files - like a synched folder or something. Check your PHP settings to see which interpreter you are using currently, the plugin just uses that. |
Note that's just the name of the interpreter. Check under the three dots next to the interpreter if it';s actually the local interptreter and that you didn't change the name on accident. |
The PHP interpreter is dected, as I said I use it for tests/command line tools shortcut. On |
I don't know how I can help you any more than this. As per this line it's just picking the prject interpreter. Maybe reinstall Tinker? |
I forgot to mention 1 thing. In the settings of the laravel plugin, you can also change the path of your laravel folder within the interpreter. You can find those in your settings as well. |
I've added all the info into #250 |
Unfortunately I have tried everything but nothing...
When I run a request is using an interpreter from nowhere, I can see On my Windows everything works perfectly, on Mac nothing works. |
Is 3v4l.org maybe a plugin that is messing with the interpreter settings? I'm not sure if it's a plugin ;) I'm willing to take a look with you to see if we can figure out what's going wrong - my discord is Roboroads#1337 if you want to do that :) |
Oh my lord. Also: It sent code to that site even though I said not to and said 'never ask again' apparently. this is outright misleading behavior by this plugin. |
@Jelle-SamsonIT I did not change anything. It's JB that added this new 3vl4 interpreter stuff in the last major update, that's entirely out of my reach I'm afraid. If I've spent countless hours on figuring out to just have the syntax highlighting and none of the other stuff that comes with PHP for the tinker consoles. However the PHP plugin (from JB) is not documented at all so it's extremely hard to figure things out. So, sorry you wasted so much time. |
Short bug description
The plugin does not resolve any vendor import.
Extended bug description
Since new PHPStorm + plugin update nothing is working anymore :(
Your project is not the problem
How to reproduce?
Expected behavior
Show request object
Screenshots
IDE & Version
PHPStorm 2023.1
PHP Version
8.0.28
OS and version
Mac OS (M1 PRO)
Laravel Tinker plugin version
2.5.1
Interpreter type
Local
Laravel Version
7.30.6
Tinker version
2.8.1
Psysh version
0.11.13
Additional Context
Thanks you, your plugin is amazing!
The text was updated successfully, but these errors were encountered: