add platform requirements to composer.json