alexeevdv/carrot-quest-yii2-client
Composer 安装命令:
composer require alexeevdv/carrot-quest-yii2-client
包简介
Yii2 component for carrot-quest-php-client
README 文档
README
Yii2 component for carrot-quest-php-client
Installation
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require alexeevdv/carrot-quest-yii2-client "^0.1"
or add
"alexeevdv/carrot-quest-yii2-client": "^0.1"
to the require section of your composer.json file.
Configuration
[
'components' => [
'carrotQuest' => [
'class' => alexeevdv\yii\CarrotQuest\Client::class,
'authToken' => 'MY_AUTH_TOKEN',
],
],
]
or
[
'container' => [
'singletons' => [
alexeevdv\CarrotQuest\ClientInterface::class => [
'class' => alexeevdv\yii\CarrotQuest\Client::class,
'authToken' => 'MY_AUTH_TOKEN',
],
],
],
]
Usage
Yii::$app->carrotQuest->userSetProperties(777, ['$name' => 'John'], false);
Methods
For the list of available methods see https://github.com/alexeevdv/carrot-quest-php-client
统计信息
- 总下载量: 2.46k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-14