升級前請檢視受影響的函式
修改composer.json
檔案
"php": "^8.0.2",
"laravel/framework": "^9.0",
"fruitcake/laravel-cors": "^2.0.5",
"guzzlehttp/guzzle": "^7.2",
"laravel/sanctum": "^2.14",
"league/flysystem-aws-s3-v3": "^3.0",
"overtrue/laravel-lang": "^6.0",
"facade/ignition": "^2.5", //刪除
// 替換為下面這個
"spatie/laravel-ignition": "^1.0"
下面是我使用的其它擴充套件需要升級的擴充套件包
// ext-mongodb ^1.13.0
"jenssegers/mongodb": "^3.9",
更新
composer update
// or
composer update -w //依賴一起升級
更多教程,doc.orangbus.cn
本作品採用《CC 協議》,轉載必須註明作者和本文連結