PHPackages                             bluestone/redmine-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. bluestone/redmine-api

ActiveLibrary[API Development](/categories/api)

bluestone/redmine-api
=====================

Redmine API client

v1.2.6(2y ago)0550↓100%1MITPHPPHP ^8.1

Since Nov 22Pushed 2y ago2 watchersCompare

[ Source](https://github.com/bluestonelab/redmine-api)[ Packagist](https://packagist.org/packages/bluestone/redmine-api)[ RSS](/packages/bluestone-redmine-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (11)Used By (0)

About Redmine API client
========================

[](#about-redmine-api-client)

[![Run tests](https://github.com/bluestonelab/redmine-api/actions/workflows/run_tests.yml/badge.svg)](https://github.com/bluestonelab/redmine-api/actions/workflows/run_tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/fafed69a66d698b76e092dcdbe53db8ebdccb114dbd1b6af4d35ff76dd81fe90/68747470733a2f2f706f7365722e707567782e6f72672f626c756573746f6e652f7265646d696e652d6170692f762f737461626c65)](https://packagist.org/packages/bluestone/redmine-api)

Installation
------------

[](#installation)

This package requires `php:^8.1`.
You can install it via composer:

```
composer require bluestone/redmine-api
```

Usage
-----

[](#usage)

First of all, you need to construct our service with a Guzzle client like this :

```
$httpHandler = new \Bluestone\Redmine\HttpHandler(
    baseUri: 'https://redmine.org'
);

$redmine = new \Bluestone\Redmine\Client($httpHandler);
```

Let's discuss all possibilities one by one.

Get projects
------------

[](#get-projects)

You can grab projects from [Redmine API](https://www.redmine.org/projects/redmine/wiki/Rest_Projects) using this method :

```
$response = $redmine->project()->all();

foreach ($response->items as $project) {
    echo $project->name;
}
```

Get issues
----------

[](#get-issues)

You can grab issues from [Redmine API](https://www.redmine.org/projects/redmine/wiki/Rest_Issues) using this method :

```
$response = $redmine->issue()->all();

foreach ($response->items as $issue) {
    echo $issue->subject;
}
```

Get project's versions
----------------------

[](#get-projects-versions)

You can grab project's versions from [Redmine API](https://www.redmine.org/projects/redmine/wiki/Rest_Versions) using this method :

```
$project = new \Bluestone\Redmine\Entities\Project([
    'id' => 42,
])

$response = $redmine->version()->all($project);

foreach ($response->items as $version) {
    echo $version->name;
}
```

Get time entries
----------------

[](#get-time-entries)

You can grab time entries from [Redmine API](https://www.redmine.org/projects/redmine/wiki/Rest_TimeEntries) using this method :

```
$response = $redmine->timeEntry()->all();

foreach ($response->items as $timeEntry) {
    echo $timeEntry->hours;
}
```

Get specific issue
------------------

[](#get-specific-issue)

You can grab specific issue from [Redmine API](https://www.redmine.org/projects/redmine/wiki/Rest_Issues) using this method :

```
$response = $redmine->issue()->get(1);

$issue = $response->items[0];

echo $issue->subject;
```

Update an issue
---------------

[](#update-an-issue)

You can update an issue from [Redmine API](https://www.redmine.org/projects/redmine/wiki/Rest_Issues#Updating-an-issue) using this method :

```
$issue = new \Bluestone\Redmine\Entities\Issue([
    'id' => 1,
    'subject' => 'Hello from API',
    'project' => new Project(id: 1),
    'note' => 'Update an issue from API',
]);

$response = $redmine->issue()->update($issue);

if ($response->statusCode === 204) {
    echo "Well done !"
}
```

Contributing
------------

[](#contributing)

Redmine API client is an open source project under MIT License and is open for contributions.

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 56% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~39 days

Recently: every ~84 days

Total

10

Last Release

912d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d65323c79234220d55e60e176f917e1c1db9b90215702e3e11f8b692977285b8?d=identicon)[Willi@m](/maintainers/Willi@m)

---

Top Contributors

[![william-suppo](https://avatars.githubusercontent.com/u/6459452?v=4)](https://github.com/william-suppo "william-suppo (14 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (9 commits)")[![clement-gouin](https://avatars.githubusercontent.com/u/80680625?v=4)](https://github.com/clement-gouin "clement-gouin (2 commits)")

---

Tags

apiredmine

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/bluestone-redmine-api/health.svg)

```
[![Health](https://phpackages.com/badges/bluestone-redmine-api/health.svg)](https://phpackages.com/packages/bluestone-redmine-api)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
