我在 Laravel 5.8 中有项目。我想更新到6.0。如何将我的项目更新到版本 6?我的作曲家.json:{ "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", "keywords": [ "framework", "laravel" ], "license": "MIT", "require": { "php": "^7.2", "bensampo/laravel-enum": "^1.26", "caouecs/laravel-lang": "~4.0", "evilnet/dotpay": "^2.1", "fideloper/proxy": "^4.0", "geocoder-php/google-maps-provider": "^4.4", "geocoder-php/nominatim-provider": "^5.1", "intervention/image": "^2.4", "jenssegers/agent": "^2.6", "laravel/framework": "6.*", "laravel/tinker": "^1.0", "mews/captcha": "^2.2", "php-http/guzzle6-adapter": "^2.0", "php-http/message": "^1.7", "spatie/laravel-cookie-consent": "^2.6", "toin0u/geocoder-laravel": "^4.1", "torann/laravel-meta-tags": "^3.0", "unisharp/laravel-ckeditor": "^4.7", "unisharp/laravel-filemanager": "dev-master" }, "require-dev": { "barryvdh/laravel-debugbar": "^3.2", "beyondcode/laravel-dump-server": "^1.0", "filp/whoops": "^2.0", "fzaninotto/faker": "^1.4", "mockery/mockery": "^1.0", "nunomaduro/collision": "^2.0", "phpunit/phpunit": "^7.5" }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true }, "repositories": { "packagist.org": { "type": "composer", "url": "https://packagist.org" } }, "extra": { "laravel": { "dont-discover": [] } }, "autoload": { "psr-4": { "App\\": "app/" }, "classmap": [ "database/seeds", "database/factories" ],我该如何修复它?在我的项目中可以这样做吗?我的文件 Composer.json 是否正确?有可能更新吗?
1 回答
子衿沉夜
TA贡献1828条经验 获得超3个赞
该存储库evilnet/dotpay
仅支持 Laravel 5.x 版本。所以你永远无法更新到 Laravel 6
只有三种可能的方式:
在 GitHub 中打开一个 issue 并要求升级包以支持 Laravel 6.x 版本
使用另一个包。
检查该服务的 API 文档(我认为它是波兰服务,对吗?)并编写自己的 Guzzle 包装器,从 dotpay 存储库的源代码中获取灵感
- 1 回答
- 0 关注
- 278 浏览
添加回答
举报
0/150
提交
取消