webeith/redmine-bundle

Redmine API

dev-master 2014-09-05 10:42 UTC

This package is not auto-updated.

Last update: 2024-09-14 16:55:27 UTC


README

这是一个为来自http://tspycher.com/using-the-redmine-api-with-php/的Redmine类创建的Symfony2 bundle。

安装

将以下条目添加到deps中,然后运行php bin/vendors install

[RedmineBundle]
    git=http://github.com/roderik/RedmineBundle.git
    target=/bundles/RedmineBundle

app/autoload.php中注册命名空间

$loader->registerNamespaces(array(
    // ...
    'Redmine'          => __DIR__.'/../vendor/bundles/RedmineBundle/src',
));

使用

$redmine = new Redmine($config);
$overdueissues = $redmine->getIssues("?query_id=10");

More on: http://tspycher.com/using-the-redmine-api-with-php/