如果你沒有添加 GitHub 密鑰的話萧豆,composer update 會提示你登錄:
Could not fetch https://api.github.com/repos/RobinHerbots/jquery.inputmask/contents/bower.json?ref=03e65a2d28159e885e18acee9cae53ac6318372b, 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+localhost.localdomain+2015-05-19+1651
to retrieve a token. It will be stored in "/home/vagrant/.composer/auth.json" for future use by Composer.
Token (hidden):
解決辦法就是:
進入 https://github.com/settings/tokens 點擊 「Generate new token」 新建一個 Token躬存,選擇默認新建就行藻茂,然后就會得到一個 Token督暂,然后輸入這個值就 OK 了胧奔。