To clean up things should have a `composer` API for working with composer commands and the `composer.json` file.