chaplean / redmine-client-bundle
Redmine Api 客户端包
v2.0.0
2019-02-07 16:46 UTC
Requires
- php: >=7.0.8
- chaplean/api-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
- 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:26:05 UTC
README
先决条件
此版本的包需要 Symfony 2.8+。
安装
1. Composer
composer require chaplean/redmine-client-bundle
2. AppKernel.php
添加
new Chaplean\Bundle\RedmineClientBundle\ChapleanRedmineClientBundle(),
配置
1. config.yml
imports: - { resource: '@ChapleanRedmineClientBundle/Resources/config/config.yml' }
2. paramters.yml
chaplean_redmine_client.url: 'your redmine url' chaplean_redmine_client.access_token: 'your access token'
## 可用函数
-
项目
- getProjects()
- getProject()
- putProjects()
- deleteProjects()
-
用户
- getUsers()
- getUser()
- postUsers()
- putUsers()
- deleteUsers()
-
问题
- getIssues()
- getIssue()
- postIssues()
- putIssues()
- deleteIssues()
-
时间
- getTimes()
- getTime()
- postTimes()
- putTimes()
- deleteTimes()