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

Comments

Projects
None yet
1 participant
@irazasyed
Contributor

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

This comment has been minimized.

Contributor

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

This comment has been minimized.

Contributor

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

Merge pull request #118 from irazasyed/patch-1
Refactor Event Service Provider. Fixes #117.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment