1.composer 安装组件的时候须要git的token(hiden)git
2.登陆git帐号(没有的话注册一个),找到settinggithub
3.在左边栏目中点击 Personal access tokencomposer
4.点击Generate new tokenide
5.在Token description中随便填一个描述名称,下面的复选框是你这个token须要的权限,所有勾上就能够了。token
6.点击下面这个绿色的按钮ip
7.下面这个就是你的token了,能够直接复制使用it
8.若是您老人家以为上面两个步骤很麻烦,那么您就直接进入这个连接(前提是你要先登录你的账号):https://github.com/settings/tokensio