{"id":15024212,"url":"https://github.com/peter279k/peter-http","last_synced_at":"2026-02-11T02:06:10.590Z","repository":{"id":79147316,"uuid":"103369399","full_name":"peter279k/peter-http","owner":"peter279k","description":"The object-oriented style helper class helps you accessing the HTTP request/response.","archived":false,"fork":false,"pushed_at":"2017-09-14T14:00:57.000Z","size":26,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-23T06:41:08.970Z","etag":null,"topics":["http-client","php56","php7"],"latest_commit_sha":null,"homepage":"","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/peter279k.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-13T07:42:12.000Z","updated_at":"2023-12-18T14:40:44.000Z","dependencies_parsed_at":"2023-05-23T21:30:26.341Z","dependency_job_id":null,"html_url":"https://github.com/peter279k/peter-http","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peter279k/peter-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Fpeter-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Fpeter-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Fpeter-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Fpeter-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter279k","download_url":"https://codeload.github.com/peter279k/peter-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter279k%2Fpeter-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29325425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T00:34:26.354Z","status":"online","status_checked_at":"2026-02-11T02:00:08.436Z","response_time":97,"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":["http-client","php56","php7"],"created_at":"2024-09-24T19:59:57.987Z","updated_at":"2026-02-11T02:06:10.569Z","avatar_url":"https://github.com/peter279k.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-http\n\n## Introduction\n\nThe object-oriented style helper class helps you accessing the HTTP request/response.\n\n## Usage\n\n- ```git clone https://github.com/peter279k/wp-http.git```\n- Please see the more details about the ```main.php```.\n\n## Sample code\n\n- Create the ```api-key.ini``` in this project root path and the ini file contents are as follows:\n\n```\n[Facebook]\naccess_token=define_your_access_token\n[Rebrandly]\napi_key=define_your_api_key\n```\n\n- We use the [Facebook graph API](https://developers.facebook.com/) and [Rebrandly](https://developers.rebrandly.com/docs) API to complete the ```GET``` and ```POST``` examples.\n\n- Please see the ```main.php``` to get the more details about ```GET``` and ```POST``` examples.\n\n## References\n\nHere is the references about the WordPress HTTP API.\n- [wp_remote_get](https://codex.wordpress.org/Function_Reference/wp_remote_get)\n- [wp_remote_post](https://codex.wordpress.org/Function_Reference/wp_remote_post)\n- [wp_remote_request](https://developer.wordpress.org/reference/functions/wp_remote_request)\n\nAnd in our helper class, we use the ```wp_remote_get``` and ```wp_remote_post``` to complete this project.\n\n## How to solve the curl(60):SSL certificate problem\n\n## TODO\n\nInclude the more available CURL options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter279k%2Fpeter-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter279k%2Fpeter-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter279k%2Fpeter-http/lists"}