mpl / composer-plugin
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: >=8.2
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
- laravel/pint: ^1.17
- pestphp/pest: ^3.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^1.12
- rector/rector: ^1.2
README
Use composer to manage your matomo plugins.
Getting Started
# 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
Authenticating
If you'd like to manage your paid plugins with composer, you must provide your token via the bearer.mpl
config option
composer config --global --auth bearer.mpl {YOUR_TOKEN}
FAQ
- Q: I deleted composer.lock and my vendor directory and now I can't run composer install
- A:
mpl/composer-plugin
use a custom repository, so it must be present for any othermpl/
dependencies to resolve. Try:- Removing any
mpl/*
require
orrequire-dev
entries other thanmpl/composer-plugin
- Run
composer update
- Add back any removed requirements.
- Removing any