{"id":28399707,"url":"https://github.com/brokeyourbike/http-client-php","last_synced_at":"2025-06-28T21:31:32.592Z","repository":{"id":45490994,"uuid":"418883948","full_name":"brokeyourbike/http-client-php","owner":"brokeyourbike","description":"HTTP client interface and supporting trait","archived":false,"fork":false,"pushed_at":"2023-05-20T11:40:12.000Z","size":29,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T15:51:24.131Z","etag":null,"topics":["hacktoberfest","http","http-client","interface","php","php8"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brokeyourbike.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-19T10:55:36.000Z","updated_at":"2023-10-22T11:07:16.000Z","dependencies_parsed_at":"2022-07-18T23:32:20.500Z","dependency_job_id":null,"html_url":"https://github.com/brokeyourbike/http-client-php","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/brokeyourbike/http-client-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokeyourbike%2Fhttp-client-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokeyourbike%2Fhttp-client-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokeyourbike%2Fhttp-client-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokeyourbike%2Fhttp-client-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brokeyourbike","download_url":"https://codeload.github.com/brokeyourbike/http-client-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokeyourbike%2Fhttp-client-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262502244,"owners_count":23321105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","http","http-client","interface","php","php8"],"created_at":"2025-06-01T08:10:30.352Z","updated_at":"2025-06-28T21:31:32.582Z","avatar_url":"https://github.com/brokeyourbike.png","language":"PHP","readme":"# http-client\n\n[![Latest Stable Version](https://img.shields.io/github/v/release/brokeyourbike/http-client-php)](https://github.com/brokeyourbike/http-client-php/releases)\n[![Total Downloads](https://poser.pugx.org/brokeyourbike/http-client/downloads)](https://packagist.org/packages/brokeyourbike/http-client)\n[![Maintainability](https://api.codeclimate.com/v1/badges/b06e5132dfa698a20769/maintainability)](https://codeclimate.com/github/brokeyourbike/http-client-php/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/b06e5132dfa698a20769/test_coverage)](https://codeclimate.com/github/brokeyourbike/http-client-php/test_coverage)\n\nHttp client interface and supporting trait\n\n## Installation\n\n```bash\ncomposer require brokeyourbike/http-client\n```\n\n## Usage\n\n```php\nuse BrokeYourBike\\HttpClient\\HttpClientInterface;\nuse BrokeYourBike\\HttpClient\\HttpClientTrait;\n\nclass ApiClient implements HttpClientInterface\n{\n    use HttpClientTrait;\n\n    public function __construct(\\GuzzleHttp\\ClientInterface $httpClient)\n    {\n        $this-\u003ehttpClient = $httpClient;\n    }\n}\n```\n\n## Authors\n- [Ivan Stasiuk](https://github.com/brokeyourbike) | [Twitter](https://twitter.com/brokeyourbike) | [LinkedIn](https://www.linkedin.com/in/brokeyourbike) | [stasi.uk](https://stasi.uk)\n\n## License\n[Mozilla Public License v2.0](https://github.com/brokeyourbike/http-client-php/blob/main/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrokeyourbike%2Fhttp-client-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrokeyourbike%2Fhttp-client-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrokeyourbike%2Fhttp-client-php/lists"}