samson/youtrack
最新稳定版本:2.3.2
Composer 安装命令:
composer require samson/youtrack
包简介
Service to communicate with the YouTrack API
关键字:
README 文档
README
Abandoned. You should probably have a look at https://github.com/cybercog/youtrack-rest-php
YouTrack API wrapper
General classes to communicate with the YouTrack API and execute some commands. Handles login, communication, parses YouTrack responses, and executes commands by project and issue ID. Fetches issues as nice Issue entities.
Usage:
use Guzzle\Http\Client; require('src/YouTrack/YouTrackCommunicator.php'); require('vendor/autoload.php'); $http = new Client('https://my.youtrack.endpoint'); $api = new \YouTrack\YouTrackCommunicator($http, array( 'username' => 'your_api_user', 'password' => 'your_api_password' )); $myIssue = $api->getIssue('MYPRJ-1'); var_dump($myIssue); $api->executeCommands($myIssue, ['State', 'Built'], 'I just closed this automagically.');
For more info on what commands you can use, check the YouTrack docs:
- https://confluence.jetbrains.com/display/YTD4/Command+Grammar
- https://confluence.jetbrains.com/display/YTD4/YouTrack+REST+API+Reference
- https://confluence.jetbrains.com/display/YTD4/Search+and+Command+Attributes
- https://confluence.jetbrains.com/display/YTD3/Apply+Command+to+an+Issue
- https://confluence.jetbrains.com/display/YTD3/Get+a+Version+Bundle
Changelog:
December 2015: Released v2.0.0
- Minor changes to external interface and inner API working
- Swapped out Buzz HTTP Client for Guzzle to bypass a CURL bug
- Made fetching TimeTracking info optional
- Removed ReleaseVersion and UnreleaseVersion
- Removed tests until we can write actually useful ones.
统计信息
- 总下载量: 569
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-02-07