Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'LinkedIn' not found #8

Open
sabotah opened this issue Sep 14, 2016 · 4 comments
Open

Class 'LinkedIn' not found #8

sabotah opened this issue Sep 14, 2016 · 4 comments

Comments

@sabotah
Copy link

sabotah commented Sep 14, 2016

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.

@mauri870
Copy link
Contributor

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.

@sabotah
Copy link
Author

sabotah commented Sep 15, 2016

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

@mauri870
Copy link
Contributor

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

@Hestabit
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants