mcmatters/redmine-api

v1.1.1 2020-06-13 21:26 UTC

This package is auto-updated.

Last update: 2020-08-13 21:46:19 UTC


README

Installation

composer require mcmatters/redmine-api

Usage

<?php

require 'vendor/autoload.php';

$client = new \McMatters\RedmineApi\RedmineClient('https://redmine.org', 'API_KEY');

$issue = $client->issue()->create([
    'project_id' => 1,
    'subject' => 'Foo',
    'description' => 'bar',
]);

$client->timeEntry()->create($issue['id'], '15min');