Skip to content

Your requirements could not be resolved to an installable set of packages #4

@danmichaelo

Description

@danmichaelo

If you get this:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for scriptotek/sru-client ^0.7 -> satisfiable by scriptotek/sru-client[v0.7.0].
    - scriptotek/sru-client v0.7.0 requires psr/http-factory-implementation ^1.0 -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

It means you need to install some HTTP factory library.

Solution: Install sru-client with the Guzzle HTTP client and factory libraries:

composer require scriptotek/sru-client php-http/guzzle6-adapter http-interop/http-factory-guzzle

Of course, you're also free to use other HTTP libraries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions