Anonymizer icon indicating copy to clipboard operation
Anonymizer copied to clipboard

Can't install via Composer without adding repos to composer.json

Open erikhansen opened this issue 4 years ago • 0 comments

I tried running this command, but got an error:

composer require integer-net/anonymizer
[InvalidArgumentException]
  Could not find a matching version of package integer-net/anonymizer. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stab
  ility (stable).

I then added this repo as a Composer repository and re-ran the composer command, but got another error:

composer config repositories.integer-net/anonymizer git [email protected]:integer-net/Anonymizer.git
composer require integer-net/anonymizer
…
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for integer-net/anonymizer ^2.1 -> satisfiable by integer-net/anonymizer[v2.1.0].
    - integer-net/anonymizer v2.1.0 requires firegento/psr0autoloader >=0.1.0 -> no matching package found.

I then had to add another repo:

composer config repositories.magento-hackathon/psr0autoloader git [email protected]:magento-hackathon/Magento-PSR-0-Autoloader.git

Can you update the readme to note what Composer repositor(ies) should be added before running composer require integer-net/anonymizer?

erikhansen avatar Oct 25 '19 15:10 erikhansen