DonSchoeman's avatar

How to provide custom facade alias for artisan console script?

I am receiving a naming conflict Cannot declare class Event, because the name is already in use for the Event class when installing the pecl-event extension for PHP and then trying to use the php artisan console command. Is there a way to specify a facade alias specifically when using the php artisan command?

PS: Note that I am not using Facades in my project itself and don't want to either.

0 likes
0 replies

Please or to participate in this conversation.