Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpoffice/phpspreadsheet 1.9.0 requires ext-dom * -> the requested PHP extension dom is missing from your system
...
- Installation request for phpoffice/phpspreadsheet ^1.2 -> satisfiable by phpoffice/phpspreadsheet[1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.0].
->>composer require phpoffice/phpspreadsheet. but error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for phpoffice/phpspreadsheet ^1.9 -> satisfiable by phpoffice/phpspreadsheet[1.9.0].
- phpoffice/phpspreadsheet 1.9.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
You can also run php --ini
inside terminal to see which files are used by PHP in CLI mode.
Installation failed, reverting ./composer.json to its original content.