{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/538","repository_url":"https://api.github.com/repos/thephpleague/oauth2-client","labels_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/538/comments","events_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/538/events","html_url":"https://github.com/thephpleague/oauth2-client/pull/538","id":166272271,"number":538,"title":"Implement HTTPlug","user":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars.githubusercontent.com/u/1275206?v=3","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-19T08:12:06Z","updated_at":"2016-07-21T08:29:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/pulls/538","html_url":"https://github.com/thephpleague/oauth2-client/pull/538","diff_url":"https://github.com/thephpleague/oauth2-client/pull/538.diff","patch_url":"https://github.com/thephpleague/oauth2-client/pull/538.patch"},"body":"This is a backwards compatible implementation of [HTTPlug](http://docs.php-http.org/en/latest/httplug/introduction.html). It provides an abstraction over Guzzle and other libraries sending HTTP messages. Using HTTPlug will comply with the dependency inversion principle.\r\n\r\nWith this PR we can now allow people using Guzzle5 using this library. This will also future proof us whenever Guzzle7 is released. "},"comment":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/comments/234189863","html_url":"https://github.com/thephpleague/oauth2-client/pull/538#issuecomment-234189863","issue_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/538","id":234189863,"user":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars.githubusercontent.com/u/1275206?v=3","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T08:29:22Z","updated_at":"2016-07-21T08:29:22Z","body":"Thank you for the review. The main reson I made this PR is because it is a step towards better software design, better interoperability which means that more users can use this library. \r\n\r\n6 month ago we [made a PR](https://github.com/thephpleague/oauth2-client/issues/475) with some excellent arguments from @sagikazarmark.\r\n\r\n> Nobody has ever complained about us using Guzzle directly.\r\n\r\nThat is not quite right... Here are issues and PRs related to you depending on Guzzle. You could expect the same wave of issues when Guzzle 7 is released. \r\n\r\n* https://github.com/thephpleague/oauth2-client/issues/115\r\n* https://github.com/thephpleague/oauth2-client/pull/175\r\n* https://github.com/thephpleague/oauth2-client/issues/215\r\n* https://github.com/thephpleague/oauth2-client/pull/223\r\n* https://github.com/thephpleague/oauth2-client/issues/260\r\n* https://github.com/thephpleague/oauth2-client/issues/286\r\n* https://github.com/thephpleague/oauth2-client/issues/314"}}
{"actor":{"display_login":"Nyholm"}}