Key conedevelopment/blade-filters is a duplicate in ./composer.json at line 91

1、执行:composer install 时提示:Key conedevelopment/blade-filters is a duplicate in ./composer.json at line 91。如图1

图1

PS E:\wwwroot\object> composer install
Key conedevelopment/blade-filters is a duplicate in ./composer.json at line 91
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove

2、参考:https://www.shuijingwanwq.com/2022/04/19/6307/ 。当时无需要编辑 composer.json,添加 “conedevelopment/blade-filters”: “^0.8”。删除掉此行,避免重复。

3、参考 Warning,执行 composer update conedevelopment/blade-filters。如图2

图2

PS E:\wwwroot\object> composer update conedevelopment/blade-filters
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files

4、查看 Git 日志,composer.lock 无变化。

5、再次执行:composer install,不再提示。如图3

 

永夜