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

Serviceprovider Not Found laravel 4.2 #54

Open
erkanrua opened this issue Jan 10, 2019 · 1 comment
Open

Serviceprovider Not Found laravel 4.2 #54

erkanrua opened this issue Jan 10, 2019 · 1 comment

Comments

@erkanrua
Copy link

App/config/app.php
in providers
Class 'Shift31\LaravelElasticsearch\ElasticsearchServiceProvider' not found
Composer.json
"shift31/laravel-elasticsearch": "~0.4"

@erkanrua erkanrua changed the title Serviceprovider Not Found Serviceprovider Not Found laravel 4.2 Jan 10, 2019
@candasm
Copy link
Collaborator

candasm commented Jan 10, 2019

Hello @erkanrua ,

If you installed package via composer with following command for the version you wanted:
$ composer require shift31/laravel-elasticsearch "~0.4"
and as its written in readme provider name should be:
Shift31\LaravelElasticsearch\LaravelElasticsearchServiceProvider

Please pay attention between major versions provider names can be different.

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