add constraint into composer.json