Skip to content

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

@erikhansen

Description

@erikhansen

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 git@github.com: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 git@github.com: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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions