{"id":13696885,"url":"https://github.com/MollsReis/junior","last_synced_at":"2025-05-03T17:32:27.783Z","repository":{"id":62503223,"uuid":"2053866","full_name":"MollsReis/junior","owner":"MollsReis","description":"PHP client/server library for JSON-RPC 2.0","archived":false,"fork":false,"pushed_at":"2017-10-03T08:53:54.000Z","size":943,"stargazers_count":39,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"next","last_synced_at":"2025-04-02T15:48:03.844Z","etag":null,"topics":["json-rpc","php"],"latest_commit_sha":null,"homepage":"http://evilscott.github.io/junior/","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/MollsReis.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":"2011-07-15T15:33:31.000Z","updated_at":"2021-11-04T04:00:34.000Z","dependencies_parsed_at":"2022-11-02T12:15:51.355Z","dependency_job_id":null,"html_url":"https://github.com/MollsReis/junior","commit_stats":null,"previous_names":["mollsreis/junior","evilscott/junior"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MollsReis%2Fjunior","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MollsReis%2Fjunior/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MollsReis%2Fjunior/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MollsReis%2Fjunior/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MollsReis","download_url":"https://codeload.github.com/MollsReis/junior/tar.gz/refs/heads/next","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252226860,"owners_count":21714885,"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":["json-rpc","php"],"created_at":"2024-08-02T18:00:49.078Z","updated_at":"2025-05-03T17:32:27.465Z","avatar_url":"https://github.com/MollsReis.png","language":"PHP","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# Junior - A JSON-RPC Client/Server in PHP [![Build Status](https://secure.travis-ci.org/EvilScott/junior.png)](http://travis-ci.org/EvilScott/junior)\n\n## What is JSON-RPC?\nFrom the [JSON-RPC Spec](http://www.jsonrpc.org/spec.html):\n\n\"JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol. Primarily this specification defines several data structures and the rules around their processing. \nIt is transport agnostic in that the concepts can be used within the same process, over sockets, over http, or in many various message passing environments. It uses JSON (RFC 4627) \nas data format.\nIt is designed to be simple!\"\n\n## Why should I use Junior?\nJunior is JSON-RPC 2.0 viable and follows the JSON-RPC spec as of March 2012. It supports batching, named parameters, and notifications.\n\n## Is Junior available for Composer?\n[Yes](https://packagist.org/packages/evilscott/junior), and this is the recommended method to deploy it.\n\n## How do I use the client?\nInclude lib/autoload.php load all necessary files. Alternatively, just include junior.phar if taking advantage of the PHAR format. Create a new instance of Junior\\Client() and pass it the URI of the server you wish to communicate with. All communication through this instance. See the example folder for more details.\n\n## How do I use the server?\nInclude lib/autoload.php load all necessary files. Alternatively, just include junior.phar if taking advantage of the PHAR format.  Create a new instance of Junior\\Server() and pass it an instance of the class you wish to expose for communication. Then call the process() function on your server instance and you are ready to go! See the example folder for more details.\n\n## What if I don't like PHP (or I need to talk to Ruby)?\nTry out [Jimson](https://github.com/chriskite/jimson), written by Chris Kite for Ruby. It was made at the same time as Junior, and supports all the same features.\n\n## What do I need to run Junior?\n* PHP \u003e= 5.3\n\n## Does it have tests?\nYes and as of February 2012 Junior has a robust, working test suite! The tests were written using [Spray](https://github.com/jimbojsb/spray) to stub stream wrappers and PHPUnit version 3.6.10. UPDATE: Junior is hooked into [Travis CI](http://travis-ci.org/EvilScott/junior) as of March 2012.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMollsReis%2Fjunior","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMollsReis%2Fjunior","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMollsReis%2Fjunior/lists"}