I have an independent, small PHP webapp I'm writing, and I've included the "oodle/krumo" package in the root "require" key of my composer.json file.
I also want my application to work well in conjunction with Drupal. Unfortunately, when Drupal hooks into it, if the "Devel" module is loaded, the Krumo classes are loaded as well and my custom app crashes.
I want to use Krumo by default, but have my app not load Krumo if it exists from Drupal (or elsewhere). Is there a way to make Composer only autoload the classes conditionally?