Installing mantis via composer
Posted: 25 May 2026, 14:19
I've noticed that Mantis is published on packagist (https://packagist.org/packages/mantisbt/mantisbt).
Does that mean that we can install Mantis via composer?
I've tried with the following composer.json
but fails with the following error:
The error is caused by this line (dapphp/securimage hasn't a "mantis" branch published on packagist).
So, I'm wondering if mantis can be installed via composer (and, if not, why it's published on packagist)...
Does that mean that we can install Mantis via composer?
I've tried with the following composer.json
Code: Select all
{
"name": "my/test",
"type": "project",
"require": {
"mantisbt/mantisbt": "^2.28"
}
}
Code: Select all
composer updateCode: Select all
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires mantisbt/mantisbt ^2.28 -> satisfiable by mantisbt/mantisbt[2.28.2, 2.28.3].
- mantisbt/mantisbt[2.28.2, ..., 2.28.3] require dapphp/securimage dev-mantis -> found dapphp/securimage[dev-master, dev-nextgen, 3.5.4, ..., 3.6.8, 4.0.1, 4.0.2] but it does not match the constraint.
So, I'm wondering if mantis can be installed via composer (and, if not, why it's published on packagist)...