Tag: .env

We have many situations when We need register some ServiceProviders only on development version depends on .env file
Ofcourse You can add entry to config/app.php. But on situation when You don't have Provider on production env it throws errors.
This kind of situation can ocures after adding entry to require-dev sectioncomposer.json file.

The solution is very simple and elegant. It saves our time and many trouble.