Closed WhiteDragonD closed 9 months ago
I found a Chinese website that had a picture saying remove this line in composer.json
"name": "phpoffice/phpspreadsheet",
https://blog.csdn.net/m0_47175673/article/details/132000933
D:\wamp\Server Apps Scripts\phpspreadsheet>composer require phpoffice/phpspreadsheet ./composer.json has been updated Running composer update phpoffice/phpspreadsheet Loading composer repositories with package information Updating dependencies Lock file operations: 1 install, 0 updates, 0 removals
composer suggest
to see details.
Generating autoload files
59 packages you are using are looking for funding.
Use the composer fund
command to find out more!
No security vulnerability advisories found.
Using version ^2.0 for phpoffice/phpspreadsheetD:\wamp\Server Apps Scripts\phpspreadsheet>composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Package operations: 83 installs, 0 updates, 0 removals
composer fund
command to find out more!
PHP CodeSniffer Config installed_paths set to ../../phpcompatibility/php-compatibilityD:\wamp\Server Apps Scripts\phpspreadsheet>
This is an incorrect use of composer. Not a bug in PhpSpreadsheet.
I am a newb.... was just following the instructions without knowing what to do :D
installed Composer through Windows/WAMP, When inside the directory of composer.json and running the require command:
D:\wamp\Server Apps Scripts\phpspreadsheet>composer require phpoffice/phpspreadsheet Root package 'phpoffice/phpspreadsheet' cannot require itself in its composer.json
Help?
Composer version 2.6.6 2023-12-08 18:32:26 PHP 8.1.8