M
M
Mark2020-12-09 14:09:28
Composer
Mark, 2020-12-09 14:09:28

How do I solve Composer's "Could not find a matching version of package" issue?

I made autoload via Composer, but unfortunately I can't connect the package: cloudpayments/cloud-payments-client .

I am getting an error:

[InvalidArgumentException]
Could not find a matching version of package cloudpayments/cloudpayments-php-client. Check the
package spelling, your version constraint and that the package is available in a stability whic
h matches your minimum-stability (dev).


composer.json:
composer.json

{
  "autoload": {
    "psr-4": {
      "Services\\": "services",
      "App\\": "app"
    }
  },
  "minimum-stability": "dev",
  "require": {
    "php": ">=5.5",
    "ext-json": "*"
  },
  "require-dev": {
    "roave/security-advisories": "dev-master"
  },
  "repositories": [
    {
      "type": "composer",
      "url": "https://asset-packagist.org"
    }
  ]
}



The minimum stability matches, the PHP version matches, the name is correct, the package exists.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question