Yii2 Component for Carrot Quest Api
, (*1)
Carrot Quest Api component for yii2 that works with carrot-api., (*2)
Install
- The preferred way to install this extension is through composer.
Either run, (*3)
php composer.phar require veksa/carrot-yii2 "~1.0"
or add, (*4)
"veksa/carrot-yii2": "~1.0"
to the require section of your composer.json file., (*5)
-
Add the component to config/main.php, (*6)
'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., (*7)
Contributing
Please see CONTRIBUTING for details., (*8)
Security
If you discover any security related issues, please email admin@devblog.pro instead of using the issue tracker., (*9)
Credits
License
The MIT License (MIT). Please see License File for more information., (*10)