Skip to content

Installing GCS api with composer #587

Description

@goodrickstar

I'm having an issue installing the Cloud Storage API to use on my server via PHP. Install attempt with composer fails with version conflicts to Firebase admin SDK also being installed. My goal is to access my Firebase DB and Storage via php on my dedicated server. I'm getting this response inputting composer require google/cloud

[channel1@www ~]$ composer require google/cloud
Using version ^0.34.1 for google/cloud
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Can only install one of: google/auth[v1.0, v0.11.1].
- Can only install one of: google/auth[v1.0, v0.11.1].
- Can only install one of: google/auth[v1.0, v0.11.1].
- google/cloud v0.34.1 requires google/auth ^1.0 -> satisfiable by google/auth[v1.0].
- Installation request for google/cloud ^0.34.1 -> satisfiable by google/cloud[v0.34.1].
- Installation request for google/auth (locked at v0.11.1) -> satisfiable by google/auth[v0.11.1].

Installation failed, reverting ./composer.json to its original content.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

authtype: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions