https://github.com/imiphp/imi-rpc
在 imi 框架中集成 RPC 服务开发。QQ群:17916227
https://github.com/imiphp/imi-rpc
Last synced: about 1 year ago
JSON representation
在 imi 框架中集成 RPC 服务开发。QQ群:17916227
- Host: GitHub
- URL: https://github.com/imiphp/imi-rpc
- Owner: imiphp
- License: mit
- Created: 2019-01-25T04:45:16.000Z (over 7 years ago)
- Default Branch: 2.0
- Last Pushed: 2024-03-20T10:34:46.000Z (about 2 years ago)
- Last Synced: 2024-05-23T02:02:51.108Z (about 2 years ago)
- Language: PHP
- Homepage: https://www.imiphp.com/
- Size: 206 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imi-rpc
[](https://packagist.org/packages/imiphp/imi-rpc)
[](https://secure.php.net/)
[](https://github.com/swoole/swoole-src)
[](https://github.com/imiphp/imi-rpc/blob/master/LICENSE)
## 介绍
在 imi 框架中开发 RPC 服务的基础组件。本组件不提供实际的 RPC 实现,仅提供开发 RPC 服务的一些插槽。
`imi-hprose` 基于 `imi-rpc` 实现:https://github.com/imiphp/imi-hprose
> 本仓库仅用于浏览,不接受 issue 和 Pull Requests,请前往:
## Composer
本项目可以使用composer安装,遵循psr-4自动加载规则,在你的 `composer.json` 中加入下面的内容:
```json
{
"require": {
"imiphp/imi-rpc": "~2.0.0"
}
}
```
然后执行 `composer update` 安装。
## 使用
在项目 `config/config.php` 中配置:
```php
[
'components' => [
// 引入本组件
'rpc' => 'Imi\Rpc',
],
]
```
## 免费技术支持
QQ群:17916227 [](https://jq.qq.com/?_wv=1027&k=5wXf4Zq),如有问题会有人解答和修复。
## 运行环境
- [PHP](https://php.net/) >= 7.4
- [Composer](https://getcomposer.org/) >= 2.0
- [Swoole](https://www.swoole.com/) >= 4.1.0
## 版权信息
`imi-rpc` 遵循 MIT 开源协议发布,并提供免费使用。
## 捐赠

开源不求盈利,多少都是心意,生活不易,随缘随缘……