veksa/carrot-yii2
Composer 安装命令:
composer require veksa/carrot-yii2
包简介
Yii2 Component for Carrot Quest API
README 文档
README
Carrot Quest Api component for yii2 that works with carrot-api.
##Install
- The preferred way to install this extension is through composer.
Either run
php composer.phar require veksa/carrot-yii2 "~1.0"
or add
"veksa/carrot-yii2": "~1.0"
to the require section of your composer.json file.
-
Add the component to
config/main.php'components' => [ // ... 'carrot' => [ 'class' => 'Veksa\Carrot\Yii2\Service', 'appId' => 'your carrot application id', 'token' => 'your carrot access token' ], // ... ],
Usage
$carrot = Yii::$app->get('carrot'); $leads = $carrot->getCountLeads();
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email admin@devblog.pro instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 185
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-06