承接 mipxtx/redmine-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mipxtx/redmine-api

Composer 安装命令:

composer require mipxtx/redmine-api

包简介

Redmine API client

关键字:

README 文档

README

A php implementation of redmine rest api: http://www.redmine.org/projects/redmine/wiki/Rest_api

Can use mysql direct access to accellerate multigets

example:

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:

    • find issue
    • create issue
    • update issue
    • findByIds (mysql)
    • findByConditions (mysql select where/order)
    • findRelations with issue statuses (mysql)
  • Issue Relations:

    • findFor (issue)
    • create relation
  • Users:

    • find (by id)
    • findByLogin
    • findByIds (mysql)
    • findByLogins (mysql)

MySQL only

  • Statuses

    • findAll - list of statuses
  • Emails

    • findByUserIds
  • Custom Fields

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

    • findByIds
  • Time Entries

    • find
    • findForMonth

统计信息

  • 总下载量: 109
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-05-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固