library redmine-api
Redmine API client
mipxtx/redmine-api
Redmine API client
- Tuesday, July 10, 2018
- by mipxtx
- Repository
- 1 Watchers
- 5 Stars
- 93 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 1 Open issues
- 25 Versions
- 1 % Grown
php Redmine Api
A php implementation of redmine rest api:
http://www.redmine.org/projects/redmine/wiki/Rest_api, (*1)
Can use mysql direct access to accellerate multigets, (*2)
example:, (*3)
use RedmineApi\Factory;
use RedmineApi\HttpClient;
use RedmineApi\Sql\MysqlClient;
$client = new \RedmineApi\HttpClient(
"https://redmine.example.com", // server url
"bbb09b217bf17a905a16caa4ce7d4a23a3a0036d" // redmine api key
);
$acc = new MysqlClient("example.com", "user", "pass", "dbname"); // mysql client direct access
$factory = new Factory($client, $acc);
$uids = [];
foreach ($factory->getIssues()->findByIds([1, 2, 3]) as $issue) { // multiget of given issues
$uids[] = $ussue["author_id"];
}
$users = $factory->getUsers()->findByIds($uids); //finding users for issues
Now implemented:
-
Issues:, (*4)
- find issue
- create issue
- update issue
- findByIds (mysql)
- findByConditions (mysql select where/order)
- findRelations with issue statuses (mysql)
-
Issue Relations:, (*5)
- findFor (issue)
- create relation
-
Users:, (*6)
- find (by id)
- findByLogin
- findByIds (mysql)
- findByLogins (mysql)
MySQL only
-
Statuses, (*7)
- findAll - list of statuses
-
Emails, (*8)
-
Custom Fields, (*9)
- getField - field possible values
- getVBalues (by issueIds)
- updateValues
-
Trackers, (*10)
-
Time Entries, (*11)
dev-master
9999999-dev
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3.9
0.3.9.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3.8
0.3.8.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3.7
0.3.7.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3.6
0.3.6.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3.5
0.3.5.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3.4
0.3.4.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3.3
0.3.3.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3.2
0.3.2.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3.1
0.3.1.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.3
0.3.0.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.10
0.2.10.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.9
0.2.9.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.8
0.2.8.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
dev-test
dev-test
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.7
0.2.7.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.6
0.2.6.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.5
0.2.5.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.4
0.2.4.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.3
0.2.3.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.2
0.2.2.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2.1
0.2.1.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.2
0.2.0.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.1.2
0.1.2.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine
0.1.1
0.1.1.0
Redmine API client
Sources
Download
MIT
by
Michail Buylov
api
redmine