1. Go to this page and download the library: Download satun14/redmine-api library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
satun14 / redmine-api example snippets
// This file is generated by Composer
e.example.com', 'username', 'password');
// This file ships with php-redmine-api
example.com', 'username', 'password');
$client = new Redmine\Client('http://redmine.example.com', 'API_ACCESS_KEY');
// impersonate user
$client->setImpersonateUser('jsmith');
// create a time entry for jsmith
$client->time_entry->create($data);
// remove impersonation for further calls
$client->setImpersonateUser(null);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.