Skip to content

Allow Guzzle 7 #919

Closed
Closed

Description

@freekmurze

Is there a way to use this package in combination with Guzzle 7?

Activity

  1. acrobat commented on Sep 10, 2020

    @acrobat
    Collaborator

    @freekmurze There is already work done by @GrahamCampbell in the master branch (upcoming 3.0) to support guzzle 7.

    See https://github.com/KnpLabs/php-github-api/blob/master/README.md#install

  2. freekmurze commented on Sep 10, 2020

    @freekmurze
    ContributorAuthor

    Ah nice! @GrahamCampbell seems to be everywhere 🙂

  3. GrahamCampbell commented on Sep 10, 2020

    @GrahamCampbell
    Contributor

    These are the relevant PRs, which enable this package to work with Guzzle 7: #885, #888, #910.

  4. GrahamCampbell commented on Sep 18, 2020

    @GrahamCampbell
    Contributor

    @acrobat Do you need any help preparing the 3.0.0 release?

  5. acrobat commented on Sep 18, 2020

    @acrobat
    Collaborator

    I wanted to refactor the code more and deprecate more stuff but I don't have much time for the moment. So I will try to go through the last open PR's for 3.0 (I think the main PR will be your immutable pager PR) and have a release ready soon! If I need some help I will ping you!

  6. hotmeteor commented on Sep 29, 2020

    @hotmeteor

    Any update on this?

  7. acrobat commented on Sep 29, 2020

    @acrobat
    Collaborator

    I'm reviewing #907 and we need to finish that PR. I'm trying to push some more changes into 3.0 but if #907 get's finished before I get time for those extra changes these will be postponed to 4.0.

  8. jljr222 commented on Oct 17, 2020

    @jljr222

    Hi all,

    Is this still in the works? I'm in need of Guzzle 7 support for my next project. I tried to run:

    composer require knplabs/github-api:^3.0 guzzlehttp/guzzle:^7.0.1 http-interop/http-factory-guzzle:^1.0

    Didn't work because v3.0 doesn't exist yet. I tried "3.0.x-dev" and that also did not work. Is there a way to install 3.0 in its current form?

  9. GrahamCampbell commented on Oct 17, 2020

    @GrahamCampbell
    Contributor

    Just add the relevant entries manually to your composer.json file and run composer update. composer require is limited in its capability, and use ^3.0@dev rather than ^3.0.

  10. jljr222 commented on Oct 17, 2020

    @jljr222

    That worked great, thank you. I'm just getting started with composer, so a lot of it is new to me. Appreciate it 👍🏽

  11. acrobat commented on Dec 22, 2020

    @acrobat
    Collaborator

    3.0.0 was released yesterday, this version is compatible with psr18 clients and guzzle 7. Enjoy! 🎉

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

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