{"id":17317528,"url":"https://github.com/lucasnetau/php-json-rpc","last_synced_at":"2026-02-15T21:02:09.482Z","repository":{"id":56975010,"uuid":"171603309","full_name":"lucasnetau/php-json-rpc","owner":"lucasnetau","description":"PHP JSON-RPC Helpers","archived":false,"fork":false,"pushed_at":"2025-03-22T01:11:17.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T01:05:31.898Z","etag":null,"topics":["jsonrpc","jsonrpc-client","jsonrpc-server"],"latest_commit_sha":null,"homepage":"","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/lucasnetau.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-20T04:53:03.000Z","updated_at":"2025-03-16T23:22:56.000Z","dependencies_parsed_at":"2025-04-13T11:10:18.366Z","dependency_job_id":"2fe1abf7-1b36-426c-b949-575ead686bee","html_url":"https://github.com/lucasnetau/php-json-rpc","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/lucasnetau/php-json-rpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasnetau%2Fphp-json-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasnetau%2Fphp-json-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasnetau%2Fphp-json-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasnetau%2Fphp-json-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasnetau","download_url":"https://codeload.github.com/lucasnetau/php-json-rpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasnetau%2Fphp-json-rpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29489333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"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":["jsonrpc","jsonrpc-client","jsonrpc-server"],"created_at":"2024-10-15T13:16:59.544Z","updated_at":"2026-02-15T21:02:09.448Z","avatar_url":"https://github.com/lucasnetau.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON RPC Helper Libraries for PHP\n\nThis library contains classes to construct JSON RPC notification, request, response and error objects.\n\nAdditionally there is a ReactPHP stream decoder included which will process JSON RPC request and responses encoded via NDJSON.\n\nhttps://www.jsonrpc.org/specification\n\n# Quickstart\n\n## Create a Request on the client\n```php\n\u003c?php\nuse EdgeTelemetrics\\JSON_RPC\\Request;\n$request = new Request('ping', [], 'requestId');\n\n$packet = json_encode($request);\n\n// Send $packet to Server\n````\n\n# Server side\n```php\n\u003c?php\n//Process request\n\n// Create the response from the request to pre-fill ID\n$response = new Response::createFromRequest($request);\n$response-\u003esetResult('pong');\n\n$packet = json_encode($response);\n\n// Send $packet back to Client\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasnetau%2Fphp-json-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasnetau%2Fphp-json-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasnetau%2Fphp-json-rpc/lists"}