Support the ongoing development of Laravel.io →
Installation Configuration IOC
Last updated 8 months ago.
0

On a fresh install, Lumen doesn't bootstrap the facades, but the console/artisan does.

I had this same issue and tracked it down with Reflection.

You have the php_event pecl extension installed (http://php.net/manual/en/book.event.php). It gets loaded first and owns "Event". Then artisan tries to setup Event with class_alias and you get an exception.

I had that installed for use with ReactPHP. You could disable or setup Ev or Libevent if you need them for your app.

0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

rogue780 rogue780 Joined 13 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.