composer 删除安装包
composer remove barryvdh/laravel-cors
C:\web\whmall>composer remove barryvdh/laravel-cors Dependency "asm89/stack-cors" is also a root requirement, but is not explicitly whitelisted. Ignoring. Dependency "laravel/framework" is also a root requirement, but is not explicitly whitelisted. Ignoring. Dependency "laravel/framework" is also a root requirement, but is not explicitly whitelisted. Ignoring. Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 0 installs, 11 updates, 1 removal - Removing barryvdh/laravel-cors (v1.0.6) - Updating psr/log (1.1.0 => 1.1.3): Downloading (100%) - Updating symfony/polyfill-php73 (v1.12.0 => v1.17.0): Downloading (100%) - Updating symfony/polyfill-ctype (v1.12.0 => v1.17.0): Downloading (100%) - Updating symfony/debug (v4.3.5 => v4.4.8): Downloading (100%) - Updating symfony/polyfill-mbstring (v1.12.0 => v1.17.0): Downloading (100%) - Updating symfony/polyfill-php72 (v1.12.0 => v1.17.0): Downloading (100%) - Updating symfony/polyfill-intl-idn (v1.12.0 => v1.17.0): Downloading (100%) - Updating symfony/mime (v4.3.5 => v5.0.8): Downloading (100%) - Updating symfony/http-foundation (v4.3.5 => v4.4.8): Downloading (100%) - Updating symfony/event-dispatcher (v4.3.5 => v4.4.8): Downloading (100%) - Updating symfony/http-kernel (v4.3.5 => v4.3.11): Downloading (100%) Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead. Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead. Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead. Writing lock file Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi Discovered Package: beyondcode/laravel-dump-server Discovered Package: fideloper/proxy Discovered Package: intervention/image Discovered Package: laravel/passport Discovered Package: laravel/tinker Discovered Package: maatwebsite/excel Discovered Package: mews/captcha Discovered Package: nesbot/carbon Discovered Package: nunomaduro/collision Discovered Package: overtrue/laravel-wechat Discovered Package: simplesoftwareio/simple-qrcode Discovered Package: spatie/laravel-permission Discovered Package: yansongda/laravel-pay Package manifest generated successfully. C:\web\whmall>