Open mikevolmar opened 3 years ago
Edit app/composer.json fisrt.
"require": { "symfony/yaml": "^5.2", "phpoffice/phpspreadsheet": "*" }
then run command like this
docker run --rm -v $(pwd)/web/app:/app composer update --ignore-platform-reqs
the libs of php are all installed in docker container, just can not be detected by phpoffice/spreadsheets package, so just add '--ignore-platform-reqs' to ignore it.
it also works for #28
@mikevolmar
New install appears to be fine. Except, I'm running into an error with php-fpm trying to install phpoffice/spreadsheets missing a dependency ext-zip
composer require phpoffice/phpspreadsheet Using version ^1.15 for phpoffice/phpspreadsheet ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1
Anyone know how to fix this issue?