igdwebdev / laravel-trustpilot

MIT License
4 stars 10 forks source link

PSR4 Error #4

Open roccomilluzzo opened 2 years ago

roccomilluzzo commented 2 years ago

The API.php class has a PSR4 error that prevents laravel from autoloading it, the namespace is IGD\Trustpilot instead of IGD\Trustpilot\API and also after that you need to remove use IGD\Trustpilot\Api; from ResourceApi.php

In that way I managed it to work

Best Regards

bellu commented 1 year ago

Looking at the commit, the problem should be already solved. But using composer we're still downloading an old version because they didn't provide a new release. Adding "minimum-stability": "dev" to composer fix the problem, because in this way you can download the dev-master branch where the issues has been solved.

@igddev can you provide a new release with the last commit? So i can get the rid of the minimum stability in my composer :)

jobbrown commented 1 year ago

@jimmyt2003 Can you take a look at this also please?