Adding requirements to a composer.json file first.