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

Lumen 5.2 Issue with Event Service Provider. #117

Closed
irazasyed opened this issue Jan 9, 2016 · 2 comments
Closed

Lumen 5.2 Issue with Event Service Provider. #117

irazasyed opened this issue Jan 9, 2016 · 2 comments

Comments

@irazasyed
Copy link
Contributor

@irazasyed irazasyed commented Jan 9, 2016

There seems to be some issue in Lumen 5.2.

PHP Fatal error:  Class 'Illuminate\Foundation\Support\Providers\EventServiceProvider' not found in /Code/lumen/vendor/prettus/l5-repository/src/Prettus/Repository/Providers/EventServiceProvider.php on line 7

Any idea?

@irazasyed
Copy link
Contributor Author

@irazasyed irazasyed commented Jan 9, 2016

So it turns out, Lumen has the event service provider at:
Laravel\Lumen\Providers\EventServiceProvider

So if i extend this in Lumen, it works fine. You need to modify to support Lumen and Laravel.

@irazasyed
Copy link
Contributor Author

@irazasyed irazasyed commented Jan 9, 2016

Sent a PR with a Fix for this - #118

@andersao andersao closed this in 0ddadec Jan 22, 2016
andersao added a commit that referenced this issue Jan 22, 2016
Refactor Event Service Provider. Fixes #117.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant