All these options under «Languages & Frameworks» → «PHP» → «Composer» are disabled:
- «Add packages as libraries»
- «Synchronize IDE Settings with composer.json»
- «Check for available package updates»
All these options under «Languages & Frameworks» → «PHP» → «Composer» are disabled:
Delete all entries from «Languages & Frameworks» → «PHP» → «Composer» → «Composer Files»:
Exit IntelliJ IDEA / PHPStorm completely.
How to remove «Include Path» entries from PHPStorm when the minus button is disabled?
PHPStorm will likely make multiple attempts to restore the contents of the .idea/php.xml
file that we modified in the previous step.
So, make a copy of the file after editing it.
Start IntelliJ IDEA / PHPStorm again and open your project.
After that, PHPStorm re-enabled (for an unknown reason) the 2 options under «Languages & Frameworks» → «PHP» → «Composer»:
Disable the 2 options again:
Then, repeat Step 2 and Step 3.
You may need to repeat this procedure multiple times.
That’s why we made a copy of the .idea/php.xml
file in Step 4.