使用composer create-project 安装laravel指定版本时提示内容长度有误
切换镜像即可,下面是阿里的

composer config -g repo.packagist composer https://mirrors.aliyun/composer/

更多推荐

Content-Length mismatch, received xxxx bytes out of the expected xxxx