{"action":"created","issue":{"url":"https://api.github.com/repos/php-http/adapter/issues/25","labels_url":"https://api.github.com/repos/php-http/adapter/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/php-http/adapter/issues/25/comments","events_url":"https://api.github.com/repos/php-http/adapter/issues/25/events","html_url":"https://github.com/php-http/adapter/issues/25","id":80109214,"number":25,"title":"HttpAdapterFactory","user":{"login":"ddeboer","id":89267,"avatar_url":"https://avatars.githubusercontent.com/u/89267?v=3","gravatar_id":"","url":"https://api.github.com/users/ddeboer","html_url":"https://github.com/ddeboer","followers_url":"https://api.github.com/users/ddeboer/followers","following_url":"https://api.github.com/users/ddeboer/following{/other_user}","gists_url":"https://api.github.com/users/ddeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/ddeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddeboer/subscriptions","organizations_url":"https://api.github.com/users/ddeboer/orgs","repos_url":"https://api.github.com/users/ddeboer/repos","events_url":"https://api.github.com/users/ddeboer/events{/privacy}","received_events_url":"https://api.github.com/users/ddeboer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-24T09:36:00Z","updated_at":"2015-06-02T15:17:47Z","closed_at":null,"body":"The egeloen library had an [HttpAdapterFactory](https://github.com/egeloen/ivory-http-adapter/blob/master/src/HttpAdapterFactory.php) that tries to automatically instantiate an HTTP adapter based on the HTTP client library that is installed. Should we create an php-http/adapter-factory (or adapter-guesser?) package, too?"},"comment":{"url":"https://api.github.com/repos/php-http/adapter/issues/comments/107988429","html_url":"https://github.com/php-http/adapter/issues/25#issuecomment-107988429","issue_url":"https://api.github.com/repos/php-http/adapter/issues/25","id":107988429,"user":{"login":"ddeboer","id":89267,"avatar_url":"https://avatars.githubusercontent.com/u/89267?v=3","gravatar_id":"","url":"https://api.github.com/users/ddeboer","html_url":"https://github.com/ddeboer","followers_url":"https://api.github.com/users/ddeboer/followers","following_url":"https://api.github.com/users/ddeboer/following{/other_user}","gists_url":"https://api.github.com/users/ddeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/ddeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddeboer/subscriptions","organizations_url":"https://api.github.com/users/ddeboer/orgs","repos_url":"https://api.github.com/users/ddeboer/repos","events_url":"https://api.github.com/users/ddeboer/events{/privacy}","received_events_url":"https://api.github.com/users/ddeboer/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T15:17:47Z","updated_at":"2015-06-02T15:17:47Z","body":"Why no `AdapterGuesser` in adapter? That way other libs that require an HTTP client could just depend on adapter an use its `AdapterGuesser` to retrieve an adapter."}}