出現了Could not fetch https://api.github.com/ 。。。please create a GitHub OAuth token to go over the API rate limit 。。。 to retrieve a token. 。。。 Token (hidden):

如果也是因為composer install出現Failed to decode response: zlib_decode(): data error,可以參考一下我另一篇:http://www.cnblogs.com/cxscode/p/7003756.html
不是請繼續往下,,,
進入 https://github.com/settings/tokens 點擊 「Generate new token」 新建一個 Token,選擇默認新建就行,然后就會得到一個 Token,然后輸入這個值就 OK 了。
help:1.生成Token 請選擇 gist Create gists,這項,復制粘貼才能成功
2.粘貼前最好確定沒有輸入其他東西(先按幾下backspace比較保險),粘貼完了就按回車鍵就可以了,Token(hidden) 是不顯示的。
注意:一般出現填寫token,可能都是因為頻繁下載,申請token的號可能會被github屏蔽,最好用新號哦!
版權聲明:本文為博主原創文章,未經博主允許不得轉載。
