Thinkphp,Fastadmin工程 运行 Composer install时 要求输入git密码 原创 李山河 2024-01-05 22:06:52 阅读 153 次 评论 0 条 广告位招商中 微信/qq 330132662如果您百度到的如下答案帮助不了您: ![](http://qiniu.52car.xyz/zblog/52car/2024/01/202401054332_5126.png) 让您切换源,或者修改一些配置 ,仍然无法解决,试试将较新版本的Fastadmin源码或ThinkPhp源码中的 `composer.json`文件替换到您的工程里,记得备份好,不要丢失重要的依赖。我把我的提供一下(替换后先删除composer.lock再install): ``` { "name": "karsonzhang/fastadmin", "description": "the fastest admin framework", "type": "project", "keywords": [ "fastadmin", "thinkphp" ], "homepage": "https://www.fastadmin.net/", "license": "Apache-2.0", "authors": [ { "name": "Karson", "email": "karson@fastadmin.net" } ], "require": { "php": ">=7.1.0", "topthink/framework": "dev-master", "topthink/think-captcha": "^1.0", "topthink/think-installer": "^1.0.14", "topthink/think-queue": "1.1.6", "topthink/think-helper": "^1.0.7", "karsonzhang/fastadmin-addons": "~1.3.2", "overtrue/pinyin": "^3.0", "phpoffice/phpspreadsheet": "1.12", "overtrue/wechat": "4.2.11", "nelexa/zip": "^3.3", "ext-json": "*", "ext-curl": "*", "ext-pdo": "*", "ext-bcmath": "*", "txthinking/mailer": "^2.0", "endroid/qr-code": "3.9.6", "topthink/think-image": "^1.0", "alibabacloud/dysmsapi-20170525": "^2.0", "wechatpay/wechatpay": "^1.4" }, "config": { "preferred-install": "dist", "allow-plugins": { "topthink/think-installer": true, "easywechat-composer/easywechat-composer": true } }, "repositories": { "packagist": { "type": "composer", "url": "https://mirrors.cloud.tencent.com/composer" }, "0": { "type": "git", "url": "https://gitee.com/fastadminnet/framework.git" } }, "require-dev": { "iwechatpay/openapi": "^0.15.16" } } ```广告位招商中 微信/qq 330132662 本文地址:http://appppa.cn/post/165.html 版权声明:本文为原创文章,版权归 包工头 所有,欢迎分享本文,转载请保留出处! 点赞 赞赏 分享: PREVIOUS:172号卡加盟赚钱 NEXT:CRM 文章导航
发表评论