composer ver1 stuck

Some times it is stuck because it is trying to use HTTP instead of https so just run this

composer config --global repo.packagist composer https://packagist.org