composer require phpoffice/phpspreadsheet
./composer.json has been updated
Running composer update phpoffice/phpspreadsheet
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpoffice/phpspreadsheet[1.0.0, ..., 1.8.2] require php ^5.6|^7.0 -> your php version (8.3.8) does not satisfy that requirement.
- phpoffice/phpspreadsheet[1.9.0, ..., 1.12.0] require php ^7.1 -> your php version (8.3.8) does not satisfy that requirement.
- phpoffice/phpspreadsheet[1.13.0, ..., 1.14.1] require php ^7.2 -> your php version (8.3.8) does not satisfy that requirement.
- phpoffice/phpspreadsheet[1.15.0, ..., 1.28.0] require maennchen/zipstream-php ^2.1 -> found maennchen/zipstream-php[2.1.0, ..., 2.4.0] but it conflicts with your root composer.json require (^0.5.2).
- phpoffice/phpspreadsheet[1.29.0, 2.0.0, ..., 2.2.1] require maennchen/zipstream-php ^2.1 || ^3.0 -> found maennchen/zipstream-php[2.1.0, ..., 2.4.0, 3.0.0, 3.0.1, 3.0.2, 3.1.0] but it conflicts with your root composer.json require (^0.5.2).
- Root composer.json requires phpoffice/phpspreadsheet * -> satisfiable by phpoffice/phpspreadsheet[1.0.0, ..., 1.29.0, 2.0.0, 2.1.0, 2.2.0, 2.2.1].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require phpoffice/phpspreadsheet:*" to figure out if any version is installable, or "composer require phpoffice/phpspreadsheet:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
This is a error:
l
What features do you think are causing the issue
no, any function affecting, its not installing in latest version
Does an issue affect all spreadsheet file formats? If not, which formats are affected?
composer require phpoffice/phpspreadsheetWhich versions of PhpSpreadsheet and PHP are affected?
PHP version 8.3.8