{"id":37006204,"url":"https://github.com/shahradelahi/easy-http","last_synced_at":"2026-01-14T00:45:00.235Z","repository":{"id":41128925,"uuid":"482205089","full_name":"shahradelahi/easy-http","owner":"shahradelahi","description":"A Easy HTTP Client library for PHP.","archived":true,"fork":false,"pushed_at":"2022-10-11T19:04:05.000Z","size":213,"stargazers_count":36,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T23:03:09.495Z","etag":null,"topics":["client","curl","http","http-client","libray","multi-process","php","requests","webservice","websocket"],"latest_commit_sha":null,"homepage":"https://github.com/shahradelahi/easy-http","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/shahradelahi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-04-16T09:00:25.000Z","updated_at":"2025-08-05T10:46:30.000Z","dependencies_parsed_at":"2022-07-10T02:16:06.499Z","dependency_job_id":null,"html_url":"https://github.com/shahradelahi/easy-http","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/shahradelahi/easy-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Feasy-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Feasy-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Feasy-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Feasy-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shahradelahi","download_url":"https://codeload.github.com/shahradelahi/easy-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Feasy-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["client","curl","http","http-client","libray","multi-process","php","requests","webservice","websocket"],"created_at":"2026-01-14T00:44:59.472Z","updated_at":"2026-01-14T00:45:00.220Z","avatar_url":"https://github.com/shahradelahi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e **Help wanted:** If you can improve this library, please do so.\n\u003e ***Pull requests are welcome.***\n\n# Easy Http\n\n[![Build Status](https://scrutinizer-ci.com/g/shahradelahi/easy-http/badges/build.png?b=master)](https://scrutinizer-ci.com/g/shahradelahi/easy-http/build-status/master)\n[![Coverage Status](https://scrutinizer-ci.com/g/shahradelahi/easy-http/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/shahradelahi/easy-http/?branch=master)\n[![Code Quality](https://img.shields.io/scrutinizer/g/shahradelahi/easy-http/master.svg?style=flat)](https://scrutinizer-ci.com/g/shahradelahi/easy-http/?b=master)\n[![Latest Stable Version](https://img.shields.io/packagist/v/shahradelahi/easy-http.svg)](https://packagist.org/packages/shahradelahi/easy-http)\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D8.0-8892BF.svg)](https://php.net/)\n[![License](https://img.shields.io/packagist/l/shahradelahi/easy-http.svg)](https://github.com/shahradelahi/easy-http/LICENSE)\n\nEasyHttp is a lightweight HTTP client that is easy to use and integrates with your existing PHP application.\n\n* Simple interface for building query strings, headers, and body.\n* Supports all HTTP methods, and supports streaming of large files.\n* **No dependency**, no need to install any third-party libraries.\n* Supports multiple/bulk requests and downloads large files.\n* And much more!\n\n#### Installation\n\n```sh\ncomposer require shahradelahi/easy-http\n```\n\n\u003cdetails\u003e\n \u003csummary\u003eClick for help with installation\u003c/summary\u003e\n\n## Install Composer\n\nIf the above step didn't work, install composer and try again.\n\n#### Debian / Ubuntu\n\n```\nsudo apt-get install curl php-curl\ncurl -s https://getcomposer.org/installer | php\nphp composer.phar install\n```\n\nComposer not found? Use this command instead:\n\n```\nphp composer.phar require \"shahradelahi/easy-http\"\n```\n\n#### Windows:\n\n[Download installer for Windows](https://getcomposer.org/doc/00-intro.md#installation-windows)\n\n\u003c/details\u003e\n\n#### Getting started\n\n```php\n$client = new \\EasyHttp\\HttpClient();\n$response = $client-\u003eget('https://httpbin.org/get');\n\necho $response-\u003egetStatusCode(); // 200\necho $response-\u003egetHeaderLine('content-type'); // 'application/json'\necho $response-\u003egetBody(); // {\"args\":{},\"headers\":{},\"origin\":\"**\", ...}\n```\n\n=========\n\n### Documentation\n\nWe've created some sample of usage in below and if you have questions or want a new feature, please feel free to\nopen [an issue](https://github.com/shahradelahi/easy-http/issues/new).\n\n* [Send simple request](/docs/send-request.md)\n* [Breakdown of a large request into pieces](/docs/breakdown-large-request.md)\n* [Send multiple requests at once](/docs/send-multiple-requests.md)\n* [Download large files](/examples/download/download-large-file.php)\n* [Upload multiple files](/examples/upload/upload-multiple-files.php)\n\n### License\n\nEasyHttp is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahradelahi%2Feasy-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshahradelahi%2Feasy-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahradelahi%2Feasy-http/lists"}