Phpspreadsheet: Error installing with composer

Created on 3 Oct 2017  路  6Comments  路  Source: PHPOffice/PhpSpreadsheet

This is:

  • [X] a bug report
  • [ ] a feature request

When trying install the package using this command: _composer require phpoffice/phpspreadsheet_ I receive this error:

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

Tried with PHP version 5.6 and 7.1

Most helpful comment

@bart-prosite you will be able to (and should) remove those lines from composer.json once PhpSpreadsheet 1.0.0 is released

All 6 comments

Have you got this in your composer.json file?

"minimum-stability": "dev",
"prefer-stable": true,

So it was as easy as this. :-/
Maybe this requirement should be in the documentation as wel.
Thank you!

This issue is not specific to this project at all, it's specific to understanding how composer works. This isn't a bug, and really, this isn't the forum for help, this is for bug reports only.

However, I felt I'd help a fellow colleague, even if this isn't really the means to do so. :)

Thank you so much! New to composer. Still a lot to learn.

@bart-prosite you will be able to (and should) remove those lines from composer.json once PhpSpreadsheet 1.0.0 is released

Do you have a rough estimate of when that may be?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ariefbayu picture ariefbayu  路  3Comments

isopen picture isopen  路  3Comments

leandrogm picture leandrogm  路  5Comments

Typel picture Typel  路  5Comments

alexbog8 picture alexbog8  路  4Comments