Y
Y
yamen2019-t2017-10-21 14:32:19
phpspreadsheet
yamen2019-t, 2017-10-21 14:32:19

phpspreadsheet not installing?

Tell me what I'm doing wrong.
I download the phpspreadsheet library - https://github.com/PHPOffice/phpspreadsheet
According to the documentation: phpspreadsheet.readthedocs.io/en/latest I execute
the command:
composer require phpoffice/phpspreadsheet
Composer swears:

[InvalidArgumentException]
Could not find package phpoffice/phpspreadsheet at any version for your minimum-stability (stable). Check the packa
ge spelling or your minimum-stability

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-10-21
@webinar

Because the plugin that you are installing is still in development, and you have set the minimum allowable stable threshold in your project. And there dev. And dev, as you understand, is not stable at all. So either fix your composer.json and allow the code to be installed in any state if you don't care if it will work fine. Or find a modified analogue that is marked as stable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question