Answer the question
In order to leave comments, you need to log in
Connecting a class from vendor to Yii2 - Class not found?
I installed a bun from github - https://github.com/Clarifai/clarifai-php
Everything seems to be uploaded to the server, the editor sees the paths, highlights the names of the constructor parameters... And Yii gives out "Class not found". How it is?
There was already such a problem with the extension, I connected it directly, I don’t remember exactly what I did, but it worked. Now he doesn't want to
$client = new \\PhpFanatic\clarifAI\ImageClient([key]);
"autoload": {
"psr-4": {
"PhpFanatic\\clarifAI\\": "src"
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question