{"id":29748014,"url":"https://github.com/codewithsushil/async-http","last_synced_at":"2026-03-02T11:01:20.416Z","repository":{"id":303223308,"uuid":"1014779717","full_name":"CodeWithSushil/async-http","owner":"CodeWithSushil","description":"🚀 Async, non-blocking HTTP client using PHP streams.","archived":false,"fork":false,"pushed_at":"2025-08-19T02:37:54.000Z","size":63,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-17T00:02:21.424Z","etag":null,"topics":["http-client","http-requests","non-blocking","non-blocking-sockets","rest-api","socket","stream"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeWithSushil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"CodeWithSushil","patreon":"Code_With_Sushil","open_collective":"CodeWithSushil","buy_me_a_coffee":"CodeWithSushil","custom":"https://paypal.me/codewithsushil"}},"created_at":"2025-07-06T12:00:26.000Z","updated_at":"2025-08-19T02:37:52.000Z","dependencies_parsed_at":"2025-07-06T13:18:45.186Z","dependency_job_id":"ebea66d8-56d4-4f8b-b439-a1f666a1d80c","html_url":"https://github.com/CodeWithSushil/async-http","commit_stats":null,"previous_names":["codewithsushil/async-http"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/CodeWithSushil/async-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSushil%2Fasync-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSushil%2Fasync-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSushil%2Fasync-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSushil%2Fasync-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeWithSushil","download_url":"https://codeload.github.com/CodeWithSushil/async-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSushil%2Fasync-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29999216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["http-client","http-requests","non-blocking","non-blocking-sockets","rest-api","socket","stream"],"created_at":"2025-07-26T09:38:16.963Z","updated_at":"2026-03-02T11:01:20.344Z","avatar_url":"https://github.com/CodeWithSushil.png","language":"PHP","readme":"# Async HTTP Client for PHP\n\n[![Packagist Version](https://img.shields.io/packagist/v/async-http/async-http.svg)](https://packagist.org/packages/async-http/async-httpi)\n![Packagist Downloads](https://img.shields.io/packagist/dt/async-http/async-http?style=flat\u0026logo=composer\u0026color=blue)\n[![Tests](https://github.com/CodeWithSushil/async-http/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/CodeWithSushil/async-http/actions/workflows/tests.yml)\n[![CodeQL](https://github.com/CodeWithSushil/async-http/actions/workflows/github-code-scanning/codeql/badge.svg?branch=master)](https://github.com/CodeWithSushil/async-http/actions/workflows/github-code-scanning/codeql)\n\n\nA fully async, non-blocking HTTP client built using `stream_socket_client` and `stream_select`. No cURL. No Guzzle.\n\n## Features\n\n- 🌀 Non-blocking requests using PHP streams\n- 🔁 Multiple async requests in parallel\n- 🔄 Retries and timeout support\n- 🧩 PSR-18 / PSR-7 compatible\n- ✅ GET, POST, PUT, PATCH, DELETE supported\n\n## Install\n\n```bash\ncomposer require async-http/async-http\n```\n\n## Example\n\n```php\n\u003c?php\n\nrequire_once('vendor/autoload.php');\n\nuse Async\\Http\\AsyncHttpClient;\n\n$url = 'https://jsonplaceholder.typicode.com/posts';\n\n$client = new AsyncHttpClient();\nforeach ($client-\u003eget($url) as $response) {\n    echo $response-\u003egetBody();\n}\n```\n\n","funding_links":["https://github.com/sponsors/CodeWithSushil","https://patreon.com/Code_With_Sushil","https://opencollective.com/CodeWithSushil","https://buymeacoffee.com/CodeWithSushil","https://paypal.me/codewithsushil"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithsushil%2Fasync-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithsushil%2Fasync-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithsushil%2Fasync-http/lists"}