解决composer install file could not be downloaded (HTTP/1.1 405 Not Allowed)错误
使用composer install安装依赖的时候报了如下错误
Installing symfony/thanks (v1.0.7): Downloading (failed) Failed to download symfony/thanks from dist: The "https://files.phpcomposer.com/files/symfony/thanks/bade4992c46ed72
2162694b4af8d72f84402819a.zip" file could not be downloaded (HTTP/1.1 405 Not Allowed)
解决办法:删除vendor文件夹和composer.lock,重新composer install即可