Skip to content

Commit 7d424e8

Browse files
authored
Merge pull request #220 from torhoehn/feature/issue-182
add documenation for composer plugins
2 parents ce069a8 + 4f1d54a commit 7d424e8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ The easiest way to do this is to install the `phpstan/extension-installer` packa
4141
composer.phar require --dev phpstan/extension-installer
4242
```
4343

44+
If you're using composer >= 2.2.0 you have to allow the execution of composer plugins ([see allow-plugins section](https://getcomposer.org/doc/06-config.md#allow-plugins)) as follows:
45+
46+
```
47+
- Installing phpstan/extension-installer (1.1.0): Extracting archive
48+
phpstan/extension-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
49+
Do you trust "phpstan/extension-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
50+
```
51+
4452
<details>
4553
<summary>Manual installation</summary>
4654

0 commit comments

Comments
 (0)