Replies: 2 comments 7 replies
-
That's strange. We check if the laravel package is installed here: https://github.com/spatie/global-ray/blob/main/src/scripts/global-ray-loader.php#L51-L55 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks Freek! So should https://github.com/spatie/global-ray/blob/main/src/scripts/global-ray-loader.php#L15 ( |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have Global Ray installed and a Laravel project running on Valet. Because I wan't to use Laravel specific features of Ray, I installed
spatie/laravel-ray
in the project.However, when I call
ray
functions it will still use Global Ray instead of the project's version. CallingshowQueries
for example, then results in aMethod showQueries does not exist.
.It appears to be looking in the Valet composer packages for other versions of ray, instead of in the project I'm working on.
$composerJson
(in theglobal-ray-loader.php
file) returns this path/Users/myusername/.composer/vendor/laravel/valet/composer.json
What is the intended behaviour?
Beta Was this translation helpful? Give feedback.
All reactions