laravel-linkedin icon indicating copy to clipboard operation
laravel-linkedin copied to clipboard

Class 'LinkedIn' not found

Open sabotah opened this issue 8 years ago • 4 comments

using laravel 5.2, followed the guide, copied and pasted in the provider, alias and example code.

it looks like the vendor path doesnt match the paths that I'm putting in app.php though

I installed via composer, but it seems to be in: vendor/artesoas/laravel-linkedin/src (then the proper path)

I set the real path, still cant find the class. I also cleared the cache, unsure what to do.

sabotah avatar Sep 14 '16 09:09 sabotah

Seems like the facade is not registered properly. Can you please follow the steps one more time and test? The integration tests cover this part so (in theory) this cannot be a bug or mismatch on the package itself.

mauri870 avatar Sep 14 '16 11:09 mauri870

I tried it again, same thing.

Also, when attempting to generate the config: php artisan vendor:publish --provider="Artesaos\LinkedIn\LinkedinServiceProvider"

It returns: Nothing to publish for tag [].

if it helps, the version composer seemed to install is: "artesaos/laravel-linkedin": "^1.1"

My laravel version: Laravel Framework version 5.2.45

PHP: 5.5.38

sabotah avatar Sep 15 '16 09:09 sabotah

The provider is registered correctly?

I will update this package for laravel 5.3 and add more detailed tests to it. Thanks for your report

mauri870 avatar Sep 15 '16 11:09 mauri870

I had also faced this issue with another package, I think this issue is not related to package.

Try following:

php artisan config:clear

and then retry to publish vendor.

Source: http://stackoverflow.com/questions/32090564/vendorpublish-nothing-to-publish-for-tag-only-on-production-server

Hestabit avatar Oct 12 '16 06:10 Hestabit