davidearl / webauthn

An implementation of webauthn in PHP on the server side (e.g Yubico 2 and Google Titan keys)
https://webauthn.davidearl.uk
MIT License
129 stars 24 forks source link

`composer require` fails with InvalidArgumentException #53

Closed Chaz6 closed 2 years ago

Chaz6 commented 2 years ago

I created a blank project with composer init. I then tried to run composer require davidearl/webauthn but it failed with the following output:-

  [InvalidArgumentException]
  Could not find a version of package davidearl/webauthn matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.

How can I add this to my project? When I was prompted for a value for "Minimum Stability" I left it blank, so I presume it uses stable as a default.

joszz commented 2 years ago

Did you at all try to Google this!? This is what you find if you Google this while removing the reference to this package. It was the first or second hit.

https://stackoverflow.com/questions/41149552/composer-packagist-could-not-find-package-for-minimum-stability

Chaz6 commented 2 years ago

Of course I did, and I did not see that result.