chaplean / bonusly-client-bundle
Bonusly 客户端组件
v1.0.1
2017-10-23 14:17 UTC
Requires
- php: >=7.0.8
- chaplean/rest-client-bundle: ^1.0
- symfony/config: ^2.8 || ^3.0 || ^4.0
- symfony/console: ^2.8 || ^3.0 || ^4.0
- symfony/dependency-injection: ^2.7 || ^3.0 || ^4.0
- symfony/yaml: ^2.8 || ^3.0 || ^4.0
Requires (Dev)
- chaplean/codeship-scripts: ^1.0
- chaplean/coding-standard: ^1.1
- mockery/mockery: dev-master
- phpunit/phpunit: ^6.3
- satooshi/php-coveralls: dev-master
- symfony/http-kernel: ^2.8 || ^3.0 || ^4.0
- symfony/var-dumper: ^2.8 || ^3.0 || ^4.0
This package is auto-updated.
Last update: 2024-08-28 12:27:14 UTC
README
先决条件
此组件版本需要 Symfony 2.8+。
安装
1. Composer
composer require chaplean/bonusly-client-bundle
2. AppKernel.php
添加
new Chaplean\Bundle\BonuslyClientBundle\ChapleanBonuslyClientBundle(),
配置
1. config.yml
imports: - { resource: '@ChapleanBonuslyClientBundle/Resources/config/config.yml' }
2. paramters.yml
chaplean_bonusly.access_token: 'your access token'
可用函数
-
用户
- getUsers()
- postUsers()
- putUsers()
- deleteUsers()
-
奖金
- getBonuses()
- postBonuses()
-
公司
- getCompanies()
- putCompanies()
-
值
- getValues()
-
排行榜
- getLeaderboards()