Authentication required (packagist.laravel-china.org)

如图:
Laravel

已经在网上查找了解决方案,切换的源,但是还是有问题,请问如何处理?

《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 6
oyghan

这类问题,先搜素一下社区然后再发帖可好。你看看这儿。
Wiki:Laravel 安装和开发环境:修改项目依赖为新的镜像地址

4年前 评论

@oyghan 感谢回复,我的问题貌似不是这个。
我执行

composer update nothing
composer update --lock

以下是我的配置:

$ composer config -l -g
[repositories.packagist.org.type] composer
[repositories.packagist.org.url] https://mirrors.aliyun.com/composer/
[process-timeout] 300
[use-include-path] false
[preferred-install] auto
[notify-on-install] true
[github-protocols] [https, ssh]
[vendor-dir] vendor (E:\code\24\xjtc/vendor)
[bin-dir] {$vendor-dir}/bin (E:\code\24\xjtc/vendor/bin)
[cache-dir] C:/Users/benny/AppData/Local/Composer
[data-dir] C:/Users/benny/AppData/Roaming/Composer
[cache-files-dir] {$cache-dir}/files (C:/Users/benny/AppData/Local/Composer/files)
[cache-repo-dir] {$cache-dir}/repo (C:/Users/benny/AppData/Local/Composer/repo)
[cache-vcs-dir] {$cache-dir}/vcs (C:/Users/benny/AppData/Local/Composer/vcs)
[cache-ttl] 15552000
[cache-files-ttl] 15552000
[cache-files-maxsize] 300MiB (314572800)
[bin-compat] auto
[discard-changes] false
[autoloader-suffix]
[sort-packages] false
[optimize-autoloader] false
[classmap-authoritative] false
[apcu-autoloader] false
[prepend-autoloader] true
[github-domains] [github.com]
[bitbucket-expose-hostname] true
[disable-tls] false
[secure-http] true
[cafile]
[capath]
[github-expose-hostname] true
[gitlab-domains] [gitlab.com]
[store-auths] prompt
[archive-format] tar
[archive-dir] .
[htaccess-protect] 1
[home] C:/Users/benny/AppData/Roaming/Composer
4年前 评论

file

切换源之后,还是提示输出账号密码

4年前 评论

已解决。

file,是我在框架的composer.json里写死了源。

4年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!