Closed edgardmessias closed 7 years ago
Actually this is on purpose. But I'll think about it.
This in production is not necessary
require-dev
is not about dev environment.
And actually I prefer to have yii2-debug in production.
yii2-debug
not for production. And official Yii project templates use this extension in require-dev
section.
And actually I prefer to have yii2-debug in production.
yii2-debug
is not made for use in production and may introduce security issues if enabled.
Is properly set allowedIps enough to be safe? If it is not could you please provide more info?
Yes. Setting up allowed IPs should be secure enough. It is require-dev
section for two reasons:
Move "yiisoft/yii2-debug" to developments dependencies
From:
To: