{"id":17437367,"url":"https://github.com/blixt/php-jsonhttpinterface","last_synced_at":"2026-01-22T14:59:50.426Z","repository":{"id":137380596,"uuid":"1411699","full_name":"blixt/php-jsonhttpinterface","owner":"blixt","description":"PHP JSON via HTTP interface","archived":false,"fork":false,"pushed_at":"2011-02-25T17:25:18.000Z","size":92,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-11T15:58:40.630Z","etag":null,"topics":[],"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/blixt.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}},"created_at":"2011-02-25T17:13:56.000Z","updated_at":"2014-05-05T18:49:06.000Z","dependencies_parsed_at":"2023-03-28T20:48:53.560Z","dependency_job_id":null,"html_url":"https://github.com/blixt/php-jsonhttpinterface","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blixt/php-jsonhttpinterface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fphp-jsonhttpinterface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fphp-jsonhttpinterface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fphp-jsonhttpinterface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fphp-jsonhttpinterface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blixt","download_url":"https://codeload.github.com/blixt/php-jsonhttpinterface/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fphp-jsonhttpinterface/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28664826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-10-17T11:57:41.786Z","updated_at":"2026-01-22T14:59:50.401Z","avatar_url":"https://github.com/blixt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP JSON via HTTP interface\n\n## Information\n\nThe `JsonHttpInterface` class wraps a class instance and makes all its public\nmethods callable through HTTP, accepting named parameters (JSON encoded) and\nreturning the result JSON encoded.\n\n## Examples\n\nAssume this is **myservice.php**:\n\n    \u003c?php\n    require('JsonHttpInterface.php');\n\n    class MyService {\n        function add($a, $b) {\n            return $a + $b;\n        }\n    }\n\n    $svc = new MyService();\n    $jhi = new JsonHttpInterface($svc);\n    $jhi-\u003eexec();\n    ?\u003e\n\nNow make an HTTP call to `myservice.php/add?a=1300\u0026b=37` and you will get this\nresponse (indented for readability):\n\n    {\n        \"status\": \"success\",\n        \"response\": 1337\n    }\n\n## MIT license\n\nThis project is licensed under an [MIT license][].\n\nCopyright © 2011 Andreas Blixt (\u003candreas@blixt.org\u003e)\n\n[MIT license]: http://www.opensource.org/licenses/mit-license.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixt%2Fphp-jsonhttpinterface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblixt%2Fphp-jsonhttpinterface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixt%2Fphp-jsonhttpinterface/lists"}