Clean separation between Dev and Prod Service Providers in Laravel
Percy Mamedy

To disable unnecessary packages, I need to install another one? So sarcastic.

Actually we can add if(env is not production) then register the package in boot function of the app. I don’t remember the exact file name, but it’s the way it should be done for dev packages.

Show your support

Clapping shows how much you appreciated Max Yang’s story.