Composer安装Laravel程序模板超出github限额如何解决?

imvicchen0条评论 8,311 次浏览

和同事一起研究laravel,在用composer创建应用程序模板时由于频繁访问github超出了限额,以前要求输入github账号和密码,而现在要求输入Token

Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+localhost+2015-07-28+0711
to retrieve a token. It will be stored in “/Users/Vic/.composer/auth.json” for future use by Composer.
Token (hidden):

打开https://github.com/settings/tokens/newscopes=repo&description=Composer+on+localhost+2015-07-28+0711这个网址,登陆后按提示Generate token,复制粘贴到Token (hidden)后面,回车。

解决~


发表回复

? razz sad evil ! smile oops grin eek shock ??? cool lol mad twisted roll wink idea arrow neutral cry mrgreen