fiv / redmine-api
Redmine API client
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/fiv/redmine-api
Requires
- php: >=5.4
- ext-curl: *
- kbsali/redmine-api: 1.5.*
This package is not auto-updated.
Last update: 2020-01-20 09:33:11 UTC
README
Fiv\Redmine\Client
allow you to pass HTTP Server Authorization and use redmine with API key
<?php require_once 'vendor/autoload.php'; $url = 'http://redmine.funivan.com'; $apiKey = '458854444dd5f4r87r9as4df5645as1df1c24f7f664f2'; $httpAuthString = 'funivan:utHF04759f'; $client = new Fiv\Redmine\Client($url, $apiKey, $httpAuthString); $issueList = $client->api('issue')->all(array( 'limit' => 3 )); foreach ($issueList['issues'] as $issue) { $fullIssue = $client->api('issue')->show($issue['id'], ['include' => 'journals']); print_r($fullIssue); } ?>