Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guzzle conflict #40

Open
tvaughan73 opened this issue May 24, 2016 · 1 comment
Open

Guzzle conflict #40

tvaughan73 opened this issue May 24, 2016 · 1 comment

Comments

@tvaughan73
Copy link

tvaughan73 commented May 24, 2016

Any chance this will be able to use the latest guzzle (v6.2)? Getting conflicts when trying to require dev-master branch with composer. composer.json shows that either v 5 or 6 can be used but guzzlehttp/command 0.7.0 requires guzzle 5

@daniel-farina
Copy link

You can fix this by :


Fork this repo, then create your own branch, in this case I called it "updated" then add the following to your project:

//Add a custom repository to use your branch.

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/daniel-farina/PHP-Shopify-API-Wrapper"
    }
]

where you would replace daniel-farina with your github's name.

After that:

You can require the following in your project:

"shopifyextras/shopify-php-api-wrapper": "dev-updated"

This will load your updated copy from your repo because you have a branch called dev-updated.

Finally, update the composer file in your branch and change

"guzzlehttp/guzzle": "~5.3|~6.0" to "guzzlehttp/guzzle": "~5.3|~6.2.1"

or whatever the latest version of guzzle your project needs.

Grettings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants