mpl/composer-plugin

此包的最新版本(0.1.0)没有可用的许可信息。

0.1.0 2024-09-30 04:12 UTC

This package is auto-updated.

Last update: 2024-09-30 04:17:04 UTC


README

使用composer管理你的Matomo插件。

入门指南

# Install the `mpl/composer-plugin` to enable the matomo plugin library
composer require mpl/composer-plugin

# Show available plugins
composer search mpl/
composer search mpl-free
composer search mpl-paid

# Add a plugin from the matomo package repository
# Names follow the following lowercase format: `mpl/{owner}-{name}`
composer require mpl/matomo-org-forcessl

认证

如果您想通过composer管理付费插件,您必须通过bearer.mpl配置选项提供您的令牌

composer config --global --auth bearer.mpl {YOUR_TOKEN}

常见问题解答

  • 问题:我删除了composer.lock和vendor目录,现在无法运行composer install
  • 答案:mpl/composer-plugin使用自定义仓库,因此对于任何其他mpl/依赖项都必须存在。请尝试以下操作:
    • 移除除mpl/composer-plugin之外的所有mpl/* requirerequire-dev条目
    • 运行composer update
    • 恢复被删除的任何需求。