composer/installers v1.8.0 added support for MantisBT plugins (PR).
Now it's possible to use Composer to install MantisBT plugins. They will be installed in plugins directory.
General description of the method: https://getcomposer.org/doc/faqs/how-do ... amework.md.
Plugin must be packaged with Composer, with mantisbt-plugin type.
Working example:
* Plugin packaged with Composer: https://github.com/FIDATA/Releases/blob ... poser.json
* Plugin used in MantisBT instance: https://github.com/FIDATA/mantisbt/blob ... poser.json
Hope that MantisBT plugin authors will start to package their plugins with Composer.
And this will simplify plugin management for owners of MantisBT instances.
Using Composer for installing MantisBT plugins
Moderators: Developer, Contributor
Re: Using Composer for installing MantisBT plugins
Nice !
I'll give that a shot when I have some time.
I'll give that a shot when I have some time.
-
- Posts: 6
- Joined: 19 Apr 2020, 17:01
Re: Using Composer for installing MantisBT plugins
It works as advertised.
Consider
supporting my open-source projects <3

Re: Using Composer for installing MantisBT plugins
Hi!
Can the composer pull in the plugin's internal dependencies when installing the plugin?
I'm trying to figure out how composer, without the composer.lock file (the file is not supplied in the distribution for end use), will understand which packages are in the "mantisbt/vendor" folder and which ones need to be uploaded for the plugin.
Can the composer pull in the plugin's internal dependencies when installing the plugin?
I'm trying to figure out how composer, without the composer.lock file (the file is not supplied in the distribution for end use), will understand which packages are in the "mantisbt/vendor" folder and which ones need to be uploaded for the plugin.