{"id":21706704,"url":"https://github.com/einar-hansen/http-client-factory","last_synced_at":"2025-09-01T08:04:43.385Z","repository":{"id":44481931,"uuid":"512764328","full_name":"einar-hansen/http-client-factory","owner":"einar-hansen","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-09T08:31:44.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-27T15:08:25.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/einar-hansen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-11T13:18:11.000Z","updated_at":"2022-09-04T19:56:49.000Z","dependencies_parsed_at":"2022-08-12T11:11:27.894Z","dependency_job_id":null,"html_url":"https://github.com/einar-hansen/http-client-factory","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/einar-hansen/http-client-factory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einar-hansen%2Fhttp-client-factory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einar-hansen%2Fhttp-client-factory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einar-hansen%2Fhttp-client-factory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einar-hansen%2Fhttp-client-factory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/einar-hansen","download_url":"https://codeload.github.com/einar-hansen/http-client-factory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einar-hansen%2Fhttp-client-factory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273093017,"owners_count":25044435,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-25T22:14:12.161Z","updated_at":"2025-09-01T08:04:43.350Z","avatar_url":"https://github.com/einar-hansen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Client Factory\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/einar-hansen/http-client-factory.svg?style=flat-square)](https://packagist.org/packages/einar-hansen/http-client-factory)\n[![Total Downloads](https://img.shields.io/packagist/dt/einar-hansen/http-client-factory.svg?style=flat-square)](https://packagist.org/packages/einar-hansen/http-client-factory)\n\nThis repository holds the interface for new http factories that return a [PSR-18 (HTTP Client)][psr-url] client.\n\nNote that this is not a HTTP Client Factory implementation. For an example, checkout the [Guzzle Client Factory][guzzle-client-url]\n\nThe installable [package][package-url] and [dependents][implementation-url] are listed on Packagist.\n\n[psr-url]: https://www.php-fig.org/psr/psr-18\n[package-url]: https://packagist.org/packages/einar-hansen/http-client-factory\n[guzzle-client-url]: https://packagist.org/packages/einar-hansen/guzzle-client-factory\n[implementation-url]: https://packagist.org/packages/einar-hansen/http-client-factory/dependents\n\n## Installation\n```bash\ncomposer require einar-hansen/http-client-factory\n```\n\n## Testing\n```bash\n# Install packages\ndocker run --rm --interactive --tty --volume $(pwd):/app composer install\n\n# Run code style formatting and static analysis\ndocker run -it -v $(pwd):/app -w /app php:8.1-alpine vendor/bin/pint\ndocker run -it -v $(pwd):/app -w /app php:8.1-alpine vendor/bin/phpstan --level=9 analyse src\n```\n\n## License\nThe MIT License (MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feinar-hansen%2Fhttp-client-factory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feinar-hansen%2Fhttp-client-factory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feinar-hansen%2Fhttp-client-factory/lists"}