解决Composer Installing dependencies from lock file

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - phpoffice/phpspreadsheet is locked to version 1.18.0 and an update of this package was not requested.
    - phpoffice/phpspreadsheet 1.18.0 requires ext-zip * -> it is missing from your system. Install or enable PHP's zip extension.

composer install --ignore-platform-reqs

或者 composer update --ignore-platform-reqs
上一篇:2021.8.24 爬虫7k7k


下一篇:【逗老师带你学IT】PRTG监控系统配合树莓派采集企业内部无线网络质量