//Enable and disable tls ssl in composer
composer config disable-tls true //(use false if you want to enable)
[InvalidArgumentException]
Version "composer" could not be found.
[ComposerDownloaderTransportException]
The "https://getcomposer.org/download/composer/composer.phar.sig" file could not be downloaded (HTTP/2 404 )
//use this command inorder to fix above error
config -g repo.packagist composer https://packagist.phpcomposer.com