{"id":14984099,"url":"https://github.com/strider2038/json-rpc-client","last_synced_at":"2025-10-18T17:11:59.369Z","repository":{"id":57060420,"uuid":"172254542","full_name":"strider2038/json-rpc-client","owner":"strider2038","description":"Flexible JSON RPC v2 client for PHP written in object-oriented style","archived":false,"fork":false,"pushed_at":"2021-08-11T16:23:09.000Z","size":320,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-14T06:22:49.539Z","etag":null,"topics":["client","http","json-rpc","jsonrpc","jsonrpc2","php","php7","socket","symfony","symfony-bundle","tcp","unix"],"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/strider2038.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}},"created_at":"2019-02-23T19:24:51.000Z","updated_at":"2023-07-27T05:48:28.000Z","dependencies_parsed_at":"2022-08-24T07:30:38.838Z","dependency_job_id":null,"html_url":"https://github.com/strider2038/json-rpc-client","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strider2038%2Fjson-rpc-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strider2038%2Fjson-rpc-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strider2038%2Fjson-rpc-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strider2038%2Fjson-rpc-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strider2038","download_url":"https://codeload.github.com/strider2038/json-rpc-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225917026,"owners_count":17544826,"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":["client","http","json-rpc","jsonrpc","jsonrpc2","php","php7","socket","symfony","symfony-bundle","tcp","unix"],"created_at":"2024-09-24T14:08:26.601Z","updated_at":"2025-10-18T17:11:59.289Z","avatar_url":"https://github.com/strider2038.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON RPC v2 client for PHP\n\n[![Latest Stable Version](https://poser.pugx.org/strider2038/json-rpc-client/v/stable)](https://packagist.org/packages/strider2038/json-rpc-client)\n[![Total Downloads](https://poser.pugx.org/strider2038/json-rpc-client/downloads)](https://packagist.org/packages/strider2038/json-rpc-client)\n[![License](https://poser.pugx.org/strider2038/json-rpc-client/license)](https://packagist.org/packages/strider2038/json-rpc-client)\n[![Test](https://github.com/strider2038/json-rpc-client/actions/workflows/test.yml/badge.svg)](https://github.com/strider2038/json-rpc-client/actions/workflows/test.yml)\n[![Build Status](https://scrutinizer-ci.com/g/strider2038/json-rpc-client/badges/build.png?b=master)](https://scrutinizer-ci.com/g/strider2038/json-rpc-client/build-status/master)\n[![Code Coverage](https://scrutinizer-ci.com/g/strider2038/json-rpc-client/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/strider2038/json-rpc-client/?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/strider2038/json-rpc-client/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/strider2038/json-rpc-client/?branch=master)\n[![StyleCI](https://github.styleci.io/repos/172254542/shield?branch=master)](https://github.styleci.io/repos/172254542)\n\nFlexible JSON RPC v2 client for PHP written in object-oriented style.\n\n* Works under HTTP protocol (via [Guzzle](https://github.com/guzzle/guzzle) or [Symfony Http Client](https://symfony.com/doc/current/components/http_client.html)) and TCP/Unix sockets (without any dependencies).\n* Can be used with [Symfony Serializer](https://symfony.com/doc/current/components/serializer.html) to serialize requests and responses.\n* Can be used as Symfony bundle.\n* Can be used with any [PSR-18](https://www.php-fig.org/psr/psr-18/) compatible HTTP client.\n* Implements reconnection algorithm for socket transport (useful for long-running processes).\n\n## Installation\n\nUse composer to install library. It is recommended to fix minor version while library is under development.\n\n```bash\ncomposer require strider2038/json-rpc-client ^0.5\n```\n\nAlso, if you want to use it over HTTP protocol you have to install one of those clients: [Guzzle](https://github.com/guzzle/guzzle) or [Symfony Http Client](https://symfony.com/doc/current/components/http_client.html).\n\n```bash\ncomposer require guzzlehttp/guzzle\n# or\ncomposer require symfony/http-client\n```\n\n## How to use\n\n* [Quick start](docs/quick_start.md)\n* [Usage guide](docs/usage_guide.md)\n  * [Response processing and error handling](docs/usage_guide.md#response-processing-and-error-handling)\n  * [Using serializer](docs/usage_guide.md#using-serializer)\n  * [Extending](docs/usage_guide.md#extending)\n  * [Using PSR-18 transport](docs/usage_guide.md#using-psr-18-transport)\n* [Using as Symfony Bundle](docs/symfony_bundle.md)\n  * [Installation](docs/symfony_bundle.md#installation)\n  * [Usage example](docs/symfony_bundle.md#usage-example)\n  * [Configuration](docs/symfony_bundle.md#configuration)\n  * [Using multiple clients](docs/symfony_bundle.md#using-multiple-clients)\n* [Configuration](docs/configuration.md)\n\n## Possible features for next releases \n\n* Object annotations for Symfony Bundle\n* Symfony application example\n* Caller context for possible authorization\n* Bridge for JMS Serializer\n* Web socket transport\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrider2038%2Fjson-rpc-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrider2038%2Fjson-rpc-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrider2038%2Fjson-rpc-client/lists"}