PHPackages                             artemeon/mantis2github - 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. [CLI &amp; Console](/categories/cli)
4. /
5. artemeon/mantis2github

ActiveLibrary[CLI &amp; Console](/categories/cli)

artemeon/mantis2github
======================

A small CLI tool to create a GitHub issue from a Mantis ticket.

3.2.1(4w ago)1125MITPHPPHP &gt;=8.2CI passing

Since Feb 17Pushed 3w ago3 watchersCompare

[ Source](https://github.com/artemeon/mantis2github)[ Packagist](https://packagist.org/packages/artemeon/mantis2github)[ RSS](/packages/artemeon-mantis2github/feed)WikiDiscussions dev/3.x Synced 3w ago

READMEChangelog (10)Dependencies (26)Versions (42)Used By (0)

Mantis 2 GitHub Connector
=========================

[](#mantis-2-github-connector)

[![Packagist Version](https://camo.githubusercontent.com/3adb752eda9dfee5d0711589cda6771fbaca8ff6993052d2f842a73b2f801e3c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617274656d656f6e2f6d616e746973326769746875623f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/artemeon/mantis2github)[![PHPStan](https://camo.githubusercontent.com/e15d364c7c0af383f9784d4af8419c1fcd87fbb5b44f0d48e32ce327be958008/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c25323031302d627269676874677265656e2e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/e15d364c7c0af383f9784d4af8419c1fcd87fbb5b44f0d48e32ce327be958008/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c25323031302d627269676874677265656e2e7376673f7374796c653d666f722d7468652d6261646765)[![Packagist Downloads](https://camo.githubusercontent.com/d531484cab8f4b8afdc6c6dd23291ad470e6b7f9f13e379d2a08b9e7c5412eba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617274656d656f6e2f6d616e746973326769746875623f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/artemeon/mantis2github)[![License](https://camo.githubusercontent.com/32fb190d4f7a015f8c521952e81bd1d41ed2534ba2ed291bf0c6bab489dca9f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f617274656d656f6e2f6d616e746973326769746875623f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/artemeon/mantis2github)

A small CLI tool to create a GitHub issue out of a Mantis issue. Creates cross-references, so links the GitHub issue to mantis and vice versa.

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

[](#installation)

```
composer global require artemeon/mantis2github
```

Configuration
-------------

[](#configuration)

When you first installed the package, call the `configure` command. You only need to do this once.

```
mantis2github configure
```

The command will direct you through the installation process.

### Quick setup

[](#quick-setup)

If you have used a previous version of this package and already have a `config.yaml` file, you can skip the configuration by running:

```
mantis2github configure path/to/config.yaml
```

Usage
-----

[](#usage)

```
mantis2github [command]
```

### Available Commands

[](#available-commands)

CommandDescription[`sync`](#sync)Create a GitHub issue from a Mantis issue[`read:github`](#readgithub)Read details of a GitHub issue[`read:mantis`](#readmantis)Read details of a Mantis issue[`issues:list`](#issueslist)Get a list of Mantis Tickets with their associated GitHub Issues.#### `sync`

[](#sync)

Create a GitHub issue from a list of Mantis issues.

```
mantis2github sync ...
```

##### Arguments

[](#arguments)

ArgumentrequiredDescription`ids``true`Mantis issue ids##### Examples

[](#examples)

###### Sync a single issue

[](#sync-a-single-issue)

```
mantis2github sync 123
```

###### Sync multiple issues

[](#sync-multiple-issues)

```
mantis2github sync 123 456 789
```

#### `read:github`

[](#readgithub)

Read details of a GitHub issue.

```
mantis2github read:github
```

##### Arguments

[](#arguments-1)

ArgumentrequiredDescription`id``true`GitHub issue id#### `read:mantis`

[](#readmantis)

Read details of a Mantis issue.

```
mantis2github read:mantis
```

##### Arguments

[](#arguments-2)

ArgumentrequiredDescription`id``true`Mantis issue id#### `issues:list`

[](#issueslist)

Get a list of Mantis Tickets with their associated GitHub Issues.

```
mantis2github issues:list [--output=html]
```

##### Options

[](#options)

OptionPossible valuesDescription`output``html`Output FormatMCP Server
----------

[](#mcp-server)

This package ships an [MCP](https://modelcontextprotocol.io) server (`mantis-mcp`) that exposes Mantis ticket details to LLM-powered clients. It reuses the same `config.yaml` as the CLI, so running `mantis2github configure` once is enough to make both available.

The server speaks the stdio transport and exposes three tools:

ToolDescriptionInput`mantis-issue-details`Read ticket details (incl. attachment metadata)`{ "id":  }` or `{ "url": "" }``mantis-issue-attachments`List attachment metadata (id, filename, size, content type) for a ticket`{ "id":  }` or `{ "url": "" }``mantis-attachment`Fetch the bytes of a single attachment. Images come back as inline image content, text as text, everything else as an embedded resource. Files over 10 MB are rejected.`{ "issue_id": , "file_id":  }`Textual responses are encoded as [TOON](https://github.com/helgesverre/toon) to keep the LLM context compact.

### Example host configuration

[](#example-host-configuration)

For Claude Desktop (`claude_desktop_config.json`) or any other MCP host that supports stdio servers:

```
{
  "mcpServers": {
    "mantis": {
      "command": "mantis-mcp"
    }
  }
}
```

If `mantis-mcp` is not on your `$PATH`, point `command` at the absolute path inside your Composer `vendor/bin/` (or `~/.composer/vendor/bin/` for a global install).

### Add to Claude Code via CLI

[](#add-to-claude-code-via-cli)

```
claude mcp add --transport stdio mantis --scope user -- mantis-mcp
```

License
-------

[](#license)

This project is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance95

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 83.8% 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 ~45 days

Recently: every ~123 days

Total

36

Last Release

28d ago

Major Versions

0.3.2 → 1.0.02022-02-21

1.5.0 → 2.0.02023-07-31

2.3.0 → 3.0.02025-01-27

PHP version history (3 changes)0.1.0PHP &gt;=7.4

1.0.0PHP &gt;=8.0

3.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16920430?v=4)[ARTEMEON](/maintainers/artemeon)[@artemeon](https://github.com/artemeon)

---

Top Contributors

[![marcreichel](https://avatars.githubusercontent.com/u/7645035?v=4)](https://github.com/marcreichel "marcreichel (83 commits)")[![isikbattenstein](https://avatars.githubusercontent.com/u/44429590?v=4)](https://github.com/isikbattenstein "isikbattenstein (7 commits)")[![sidler](https://avatars.githubusercontent.com/u/1846393?v=4)](https://github.com/sidler "sidler (6 commits)")[![chriskapp](https://avatars.githubusercontent.com/u/2505846?v=4)](https://github.com/chriskapp "chriskapp (3 commits)")

---

Tags

cligithubissueissue-managementissuesmantismantisbtsynchronizationticketticketing-system

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/artemeon-mantis2github/health.svg)

```
[![Health](https://phpackages.com/badges/artemeon-mantis2github/health.svg)](https://phpackages.com/packages/artemeon-mantis2github)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k60.6M803](/packages/drush-drush)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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