Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only install Whoops in development, by default #20412

Merged
merged 1 commit into from Aug 3, 2017

Conversation

garygreen
Copy link
Contributor

@garygreen garygreen commented Aug 3, 2017

Whoops should be encouraged to only be used in Development based environments, otherwise accidentally enabling debug mode on production would be catastrophic. It would expose every env including database passwords, encryption keys, API keys, etc. Mistakes happen. If this happened in a corporate environment, it would ruin a business.

With this PR, it will only be installed by default on development however you are free to add whoops to your composer.json in your require block, assuming you would like to be an absolute lunatic and install whoops on production 馃槃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants