The "--disable-tls" option does not exist. code example
Example: The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl ex tension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true
composer config -g -- disable-tls true