A common practice in project development is to store some configuration options as environment variables.
In development, testing, qa mode, using a
.env file (pronounced "dot-env") is common
instead of using "real" environment variables.
As more applications are migrating towards the usage of environment variables, we added support for
.env.dist files in SensioLabsInsight.
To use it, create a
.env.dist file in the working directory of your project and all environment variables
defined in it will be accessible during Composer installation and during the analysis.
This feature helps supporting Symfony 4 and Symfony Flex on SensioLabsInsight and it also means that any project you have may now use environment variables easily (even non-Symfony projects).
Enjoy!comments powered by Disqus