1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Update the managing section

cc @weirdan
This commit is contained in:
Matthew Brown 2020-10-03 10:28:58 -04:00 committed by Daniil Gentili
parent 606040eb85
commit 451e2c4d56
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -16,9 +16,13 @@ You can find a list of plugins on [Psalms own website](https://psalm.dev/plug
### Managing known plugins
Once installed, use `psalm-plugin` tool to enable, disable and show available and enabled plugins.
Once installed, use the `psalm-plugin` tool to enable, disable and show available and enabled plugins.
To enable the plugin, run `psalm-plugin enable plugin-vendor/plugin-package`. To disable it, run `psalm-plugin disable plugin-vendor/plugin-package`. `psalm-plugin show` (as well as bare `psalm-plugin`) will show you the list of enabled plugins, and the list of plugins known to `psalm-plugin` (installed into your `vendor` folder)
To enable a plugin, run `vendor/bin/psalm-plugin enable plugin-vendor/plugin-package`.
To disable a plugin, run `vendor/bin/psalm-plugin disable plugin-vendor/plugin-package`.
`vendor/bin/psalm-plugin show` will show you a list of all local plugins (enabled and disabled).
## Using your own plugins