【发布时间】:2016-05-31 12:38:53
【问题描述】:
今天,我尝试通过运行 composer create-project laravel/laravel=5.1.* myproject --prefer-dist 来安装 Laravel,但出现此错误:
Could not fetch https://api.github.com/repos/laravel/laravel/zipball/716e65268ae123e5bd73e505acf9695c678aff88, please create a GitHub OAuth token to go over the API rate limit
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+MyPC+2016-02-19+0343 to retrieve a token. It will be stored in "C:/Users/MyPC/AppData/Roaming/Composer/auth.json" for future use by Composer.
为什么我无法从 GitHub 获取?这是我使用多年后第一次遇到这种情况。 GitHub 是否有任何政策变化?
【问题讨论】:
-
作曲家创建项目 laravel/laravel 5.1 myproject --prefer-dist
-
"请创建一个 GitHub OAuth 令牌以超过 API 速率限制"
标签: php github composer-php