在composer.json文件中添加laravel
"extra": { "laravel": { "dont-discover": [ "laravel/dusk" ] } },
在執行json
composer update composer