Page 1 of 1

Using Composer for installing MantisBT plugins

Posted: 01 Mar 2020, 06:19
by grv87
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.

Re: Using Composer for installing MantisBT plugins

Posted: 27 Mar 2020, 10:51
by dregad
Nice !

I'll give that a shot when I have some time.

Re: Using Composer for installing MantisBT plugins

Posted: 18 Oct 2020, 09:10
by andrzejkupczyk
It works as advertised.

Re: Using Composer for installing MantisBT plugins

Posted: 14 Jun 2024, 07:39
by brlumen
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.