sillydong / yii2-hprose
simple way to use hprose
Package info
github.com/sillydong/yii2-hprose
Type:yii2-extension
pkg:composer/sillydong/yii2-hprose
dev-master
2016-11-17 07:35 UTC
Requires
- hprose/hprose: >=2.0.0
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2026-03-01 03:26:47 UTC
README
simple way to use hprose
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist sillydong/yii2-hprose "*"
or add
"sillydong/yii2-hprose": "*"
to the require section of your composer.json file.
Usage
create a component in yii config
return [
'components'=>[
'someservice'=>[
'class'=>'sillydong\hprose\Service',
'urls'=>['127.0.0.1:11111','127.0.0.1:22222']
]
]
]