phpxmlrpc/jsonrpc
Composer 安装命令:
composer require phpxmlrpc/jsonrpc
包简介
A php library for building jsonrpc clients and servers
关键字:
README 文档
README
A php library for building json-rpc clients and servers.
Originally bundled as part of the phpxmlrpc/extras package.
It supports both version 2.0 and 1.0 of the JSON-RPC protocol over HTTP.
Requirements and Installation
- PHP >= 5.4.0
- PHP Json extension
- phpxmlrpc/phpxmlrpc >= 4.11.4 (currently requires the master branch tip)
The recommended way to install this library is using Composer.
Documentation
-
See the documentation page at gggeek.github.io/phpxmlrpc-jsonrpc for a list of the library main features, known limitations and all project related information, including information about online resources such as debuggers and demo servers.
-
Automatically-generated documentation for the API is available online at http://gggeek.github.io/phpxmlrpc-jsonrpc/doc/api/index.html
-
You are encouraged to look also at the code examples found in the demo/ directory.
Note: to reduce the size of the download, the demo files are not part of the default package installed with Composer. You can either check them out online at https://github.com/gggeek/phpxmlrpc-jsonrpc/tree/master/demo, download them as a separate tarball from https://github.com/gggeek/phpxmlrpc-jsonrpc/releases or make sure they are available locally by installing the library using Composer option
--prefer-install=source. Whatever the method chosen, make sure that the demo folder is not directly accessible from the internet, i.e. it is not within the webserver root directory).
Extras
-
This library does include a visual debugger which can be used to troubleshoot connections to 3rd party json-rpc servers. In case you'd like to use the debugger but do not have a working PHP installation, you can run it standalone as a Container image. Instructions can be found at https://github.com/gggeek/phpxmlrpc-debugger
-
A companion PHP library, which adds support for JSON-RPC servers to automatically generate API documentation, and more, is available at https://github.com/gggeek/phpxmlrpc-extras
-
Last but not least, a Javascript library, implementing both XML-RPC and JSON-RPC clients using a very similar API, is available at https://github.com/gggeek/jsxmlrpc
License
Use of this software is subject to the terms in the license.txt file
phpxmlrpc/jsonrpc 适用场景与选型建议
phpxmlrpc/jsonrpc 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.96k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 10 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「webservices」 「jsonrpc」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 phpxmlrpc/jsonrpc 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 phpxmlrpc/jsonrpc 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 phpxmlrpc/jsonrpc 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Bitcoin JSON-RPC Service Provider for Laravel
Kinikit - PHP Application development framework
A collection of server-side addons that might be of use for development of xml-rpc (and json-rpc) based applications
Kinikit - PHP Application development framework MVC component
NuSOAP PHP library
JsonRpc Client for Laravel
统计信息
- 总下载量: 1.96k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 19
- 依赖项目数: 1
- 推荐数: 2
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-10-28