Skip to content

Add console plugin:install #21003

@mwithheld

Description

@mwithheld

Add a console command to install a plugin:
console plugin:install ...

Summary

The console can uninstall, activate and deactivate, but strangely, cannot install plugins. The command console plugin:install would facilitate automated installs, and replace our current clumsy wget-unzip method. The command should get the latest version of the plugin that is compatible with the currently-installed Matomo version, e.g. by parsing through https://plugins.matomo.org/api/2.0/plugins/:pluginname/info . E.g. if you have Matomo 4.x and want the ExtraTools plugin (https://plugins.matomo.org/api/2.0/plugins/EXtraTools/info) you would get version "4.1.0-beta5" and not version "5.*".

Your Environment

  • Command line
  • Matomo Version: any
  • PHP Version: any
  • Server Operating System: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.c: UsabilityFor issues that let users achieve a defined goal more effectively or efficiently.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions