How can I disable plugins based on WP_ENV?

Sure thing, I’ve added the credits. Thanks for the feedback! I’ve also added some instructions on how to add a a local config for non-Bedrock sites. Does that make sense to you?

EDIT:
It only works as a Must Use Plugin and therefore only for Bedrock sites (because of the MU Plugin Autoloader). The user gets a notice if he still tries to install and activate it as a regular plugin.