2017 © Pedro Peláez
 

library redmine-api

Redmine API client

image

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

The README.md

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)

    • findByUserIds
  • Custom Fields, (*9)

    • getField - field possible values
    • getVBalues (by issueIds)
    • updateValues
  • Trackers, (*10)

    • findByIds
  • Time Entries, (*11)

    • find
    • findForMonth

The Versions

10/07 2018

dev-master

9999999-dev

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

10/07 2018

0.3.9

0.3.9.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

06/06 2018

0.3.8

0.3.8.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

04/05 2018

0.3.7

0.3.7.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

04/05 2018

0.3.6

0.3.6.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

02/02 2018

0.3.5

0.3.5.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

18/01 2018

0.3.4

0.3.4.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

15/12 2017

0.3.3

0.3.3.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

15/12 2017

0.3.2

0.3.2.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

10/12 2017

0.3.1

0.3.1.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

10/12 2017

0.3

0.3.0.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

12/04 2016

0.2.10

0.2.10.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

12/04 2016

0.2.9

0.2.9.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

08/04 2016

0.2.8

0.2.8.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

08/04 2016

dev-test

dev-test

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

08/04 2016

0.2.7

0.2.7.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

08/04 2016

0.2.6

0.2.6.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

01/04 2016

0.2.5

0.2.5.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

30/03 2016

0.2.4

0.2.4.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

31/03 2015

0.2.3

0.2.3.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

13/03 2015

0.2.2

0.2.2.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

30/09 2014

0.2.1

0.2.1.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

16/08 2014

0.2

0.2.0.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

15/08 2014

0.1.2

0.1.2.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine

05/05 2014

0.1.1

0.1.1.0

Redmine API client

  Sources   Download

MIT

by Michail Buylov

api redmine