Skip to content

davereid/redmine-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Redmine PHP SDK

Provides a re-usable PHP library for interacting with the Redmine system's API.

Requirements

  • PHP 5.3 or higher
  • cURL extension
  • JSON extension
  • PHPUnit (for unit testing)

Usage

<?php
$server = 'http://demo.redmine.com/';
$api_key = '00000000000000000000000000000000'; // Valid Redmine API key
$connection = new RedmineConnection($server, $api_key);
$issue = RedmineIssue::load($connection, 1); // Load issue #1.
$issue->subject = 'New subject for issue #1.';
$issue->save();
?>

License

The Redmine PHP SDK is dual licensed under the MIT and GPLv2 licenses.

Unit Tests

To run the unit tests included with the SDK, you must have PHPUnit installed. From the Redmine SDK directory, run phpunit tests to run all tests.

Releases

No releases published

Packages

No packages published

Languages