Combined composer plugin and installer into a single class.