use composer global require "laravel/installer" to install the following error:
[ComposerDownloaderTransportException]
Content-Length mismatch, received 114423 bytes out of the expected 1624856
Why. My environment is centos7, how to solve it?
in addition, it seems that the domestic mirror source can be downloaded, but why is there an authentication?
[www@localhost composer]$ composer global require "laravel/installer"
Changed current directory to /home/www/.config/composer
Using version ^2.0 for laravel/installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Authentication required (packagist.phpcomposer.com):
Username:
Password: