安装laravel的时候报错
展开阅读全文
[RuntimeException]
Could not load package classpreloader/classpreloader in http://packagist.org: [UnexpectedValueException] 
Could not parse version constraint ^1.2.2: Invalid version string "^1.2.2"

解决方法: composer自我更新下

composer self-update