{"id":13704164,"url":"https://github.com/amphp/artax","last_synced_at":"2025-04-28T22:31:31.087Z","repository":{"id":56947359,"uuid":"189258469","full_name":"amphp/artax","owner":"amphp","description":"An async HTTP/1.1 client for PHP based on Amp.","archived":false,"fork":false,"pushed_at":"2020-02-23T20:04:04.000Z","size":3251,"stargazers_count":23,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-20T15:07:10.854Z","etag":null,"topics":["amphp","artax","async","http","http-client","https","php"],"latest_commit_sha":null,"homepage":"https://amphp.org/artax","language":"PHP","has_issues":false,"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/amphp.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":"2019-05-29T16:07:36.000Z","updated_at":"2025-03-05T20:16:58.000Z","dependencies_parsed_at":"2022-08-21T03:10:29.840Z","dependency_job_id":null,"html_url":"https://github.com/amphp/artax","commit_stats":null,"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphp%2Fartax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphp%2Fartax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphp%2Fartax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphp%2Fartax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amphp","download_url":"https://codeload.github.com/amphp/artax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251397607,"owners_count":21583041,"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":["amphp","artax","async","http","http-client","https","php"],"created_at":"2024-08-02T21:01:05.072Z","updated_at":"2025-04-28T22:31:29.502Z","avatar_url":"https://github.com/amphp.png","language":"PHP","funding_links":[],"categories":["目录","HTTP"],"sub_categories":["HTTP客户端 HTTP Client"],"readme":"### :warning: This package has been replaced by [`http-client`](https://amphp.org/http-client)\n\n# artax\n\n[![Build Status](https://img.shields.io/travis/amphp/artax/master.svg?style=flat-square)](https://travis-ci.org/amphp/artax)\n[![CoverageStatus](https://img.shields.io/coveralls/amphp/artax/master.svg?style=flat-square)](https://coveralls.io/github/amphp/artax?branch=master)\n![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)\n\nArtax is an asynchronous HTTP client for PHP based on [Amp](https://github.com/amphp/amp). Its API simplifies standards-compliant HTTP resource traversal and RESTful web service consumption without obscuring the underlying protocol. The library manually implements HTTP over TCP sockets; as such it has no dependency on `ext/curl`.\n\n## Features\n\n - Requests asynchronously for full single-threaded concurrency\n - Pools persistent keep-alive connections\n - Transparently follows redirects\n - Decodes gzipped entity bodies\n - Exposes headers and message data\n - Streams entity bodies for memory management with large transfers\n - Supports all standard and custom HTTP method verbs\n - Simplifies HTTP form submissions\n - Implements secure-by-default TLS (`https://`)\n - Supports cookies and sessions\n - Functions seamlessly behind HTTP proxies\n\n## Project Goals\n\n - Model all code as closely as possible to the relevant HTTP protocol RFCs\n - Implement an HTTP/1.1 client built on raw socket streams with no `libcurl` dependency\n\n## Installation\n\nThis package can be installed as a [Composer](https://getcomposer.org/) dependency.\n\n```bash\ncomposer require amphp/artax\n```\n\n## Documentation\n\nDocumentation is bundled within this repository in the [`docs`](./docs) directory.\n\n## Examples\n\nMore extensive code examples reside in the [`examples`](./examples) directory.\n\n## Versioning\n\n`amphp/artax` follows the [semver](http://semver.org/) semantic versioning specification like all other `amphp` packages.\n\n| Version | Bug Fixes Until              | Security Fixes Until         |\n| ------- | ---------------------------- | ---------------------------- |\n| 3.x     | Supported, no end date, yet. | Supported, no end date, yet. |\n| 2.x     | Unmaintained.\t             | Unmaintained.\t            |\n| 1.x     | Unmaintained.                | Unmaintained.                |\n\n## Security\n\nIf you discover any security related issues, please email [`me@kelunik.com`](mailto:me@kelunik.com) instead of using the issue tracker.\n\n## License\n\nThe MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famphp%2Fartax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famphp%2Fartax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famphp%2Fartax/lists"}