close

[Solved] Composer require phpoffice/phpspreadsheet doesn’t work

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Composer require phpoffice/phpspreadsheet doesn’t work in php. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Composer require phpoffice/phpspreadsheet doesn’t work Error Occurs?

Today I get the following error Composer require phpoffice/phpspreadsheet doesn’t work in php.

How To Solve Composer require phpoffice/phpspreadsheet doesn’t work Error ?

  1. How To Solve Composer require phpoffice/phpspreadsheet doesn't work Error ?

    To Solve Composer require phpoffice/phpspreadsheet doesn't work Error I had the same problem, i fix it by doing this
    composer install --ignore-platform-reqs

  2. Composer require phpoffice/phpspreadsheet doesn't work

    To Solve Composer require phpoffice/phpspreadsheet doesn't work Error I had the same problem, i fix it by doing this
    composer install --ignore-platform-reqs

Solution 1

So I should install

sudo apt install php-xml

sudo apt install php7.0-gd

sudo apt install php7.0-mbstring

sudo apt install php-zip

Solution 2

I had the same problem, i fix it by doing this

composer install --ignore-platform-reqs

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment