Laravel configuration problem.
Hello, trying to follow these instructions here:
https://www.jetbrains.com/help/phpstorm/laravel.html
and when attempting to install the barryvdh/laravel-ide-helper package
I use Tools | Composer | Manage Dependencies, find the barryvdh/laravel-ide-helper package and regardless of which version I select, it results in the error:
[InvalidArgumentException]
Could not find package barryvdh/laravel-ide-helper in a version matching xxxx
although I'm selecting that version directly out of the available version selection.
Attempts to add this via composer CLI results in the same thing.
Any idea?
请先登录再写评论。
Hi there,
Just follow the install instructions from https://github.com/barryvdh/laravel-ide-helper and run that in terminal (when current directory is the project root, where that composer.json is located -- I assume you know how Composer works).
That always worked for me (always did it that way).
If you still see an error there then it must be some issue with your Composer installation...
Thanks Andriy,
Worked fine. Looks like the referenced instructions are in need of a reboot.