{"id":33988106,"url":"https://github.com/yakeing/php_curl","last_synced_at":"2025-12-13T05:52:05.353Z","repository":{"id":57085767,"uuid":"97941833","full_name":"yakeing/php_curl","owner":"yakeing","description":"Curl is an open source file transfer tool that uses URL syntax to work on the command line, where the basic functions of curl are encapsulated, such as COOKIES / encrypted transport / HTTP authentication / analog forms / upload files, etc.","archived":false,"fork":false,"pushed_at":"2021-05-16T06:09:48.000Z","size":70,"stargazers_count":36,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T23:52:03.086Z","etag":null,"topics":["curl","http","post"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"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/yakeing.png","metadata":{"files":{"readme":"README.md","changelog":null,"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},"funding":{"github":["yakeing"],"custom":["https://github.com/yakeing/Documentation/blob/main/Sponsor/README.md"]}},"created_at":"2017-07-21T11:42:51.000Z","updated_at":"2024-04-19T02:07:19.000Z","dependencies_parsed_at":"2022-08-24T22:50:35.236Z","dependency_job_id":null,"html_url":"https://github.com/yakeing/php_curl","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/yakeing/php_curl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakeing%2Fphp_curl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakeing%2Fphp_curl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakeing%2Fphp_curl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakeing%2Fphp_curl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yakeing","download_url":"https://codeload.github.com/yakeing/php_curl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yakeing%2Fphp_curl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27701137,"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-12-13T02:00:09.769Z","response_time":147,"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":["curl","http","post"],"created_at":"2025-12-13T05:52:03.297Z","updated_at":"2025-12-13T05:52:05.348Z","avatar_url":"https://github.com/yakeing.png","language":"PHP","readme":"# Curl\n\nCurl is an open source file transfer tool that uses URL syntax to work on the command line, where the basic functions of curl are encapsulated, such as COOKIES / encrypted transport / HTTP authentication / analog forms / upload files, etc.\n\n### Travis CI badge\n\n[![Travis-ci](https://api.travis-ci.com/yakeing/php_curl.svg?branch=main)](https://travis-ci.com/yakeing/php_curl)\n\n### codecov badge\n\n[![codecov](https://codecov.io/gh/yakeing/php_curl/branch/main/graph/badge.svg)](https://codecov.io/gh/yakeing/php_curl)\n\n### Github badge\n\n[![Downloads](https://4.vercel.app/github/downloads/yakeing/php_curl?icon=github)](../../)\n[![Size](https://4.vercel.app/github/size/yakeing/php_curl?icon=github)](src)\n[![tag](https://4.vercel.app/github/tag/yakeing/php_curl?icon=github)](../../releases)\n[![license](https://4.vercel.app/static/license/555/MPL-2.0/fe7d37?icon=github)](LICENSE)\n[![languages](https://4.vercel.app/static/language/555/PHP/34abef?icon=github)](../../search?l=php)\n\n### Installation\n\nUse [Composer](https://getcomposer.org) to install the library.\nOf course, You can go to [Packagist](https://packagist.org/packages/yakeing/php_curl) to view.\n\n```\n\n    $ composer require yakeing/php_curl\n\n```\n\n### init\n\n- [x] example\n```php\n    $Curl = new curl();\n    $curl-\u003eEncoding = 'gzip';\n    $Curl-\u003eTimeout = 10;\n```\n\n### GET\n\n- [x] example\n```php\n      $Url = 'https://github.com/yakeing';\n      $Header = array(\n        'User-Agent: Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.28'\n      );\n      $Curl-\u003eGet($Url, $Header);\n```\n\n### POST\n\n- [x] example\n```php\n      $Url = 'https://github.com/yakeing';\n      $Vars = array(\n        'user'=\u003e'admin',\n        'upload'=\u003enew CURLFile(realpath('image.jpg')) //php 5.5 Edition\n        );\n      $curl-\u003eUserAgent = 'Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.28';\n      $Curl-\u003ePost($Url, $Vars, $Header);\n```\n\n[Sponsor](https://github.com/yakeing/Documentation/blob/master/Sponsor/README.md)\n---\n\nIf you've got value from any of the content which I have created, then I would very much appreciate your support by payment donate.\n\n[![Sponsor](https://4.vercel.app/static/Sponsor/EA4AAA?icon=heart)](https://github.com/yakeing/Documentation/blob/master/Sponsor/README.md)\n\nAuthor\n---\n\nweibo: [yakeing](https://weibo.com/yakeing)\n\ntwitter: [yakeing](https://twitter.com/yakeing)\n","funding_links":["https://github.com/sponsors/yakeing","https://github.com/yakeing/Documentation/blob/main/Sponsor/README.md"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakeing%2Fphp_curl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyakeing%2Fphp_curl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyakeing%2Fphp_curl/lists"}