fix composer.json repositories and requirements