Closed enumag closed 5 years ago
I don't know. If your needs don't match how the plugin works, you probably can't use it...
It would be possible to implement this. For example vaimo/composer-patches has this feature - you can run the plugin's logic manually using composer patch:apply
.
Feel free to send a PR :)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
When dockerizing my application I first
COPY
justcomposer.json
andcomposer.lock
, then I have aRUN
layer withcomposer install
and only then copy the rest of the application. This is good for caching the layer with all the installed packages.Unfortunately since I'm using
symfony/flex
I have to runcomposer install
with--no-scripts
because otherwiseflex
would fail when I don't have the application files yet (missing configuration for some bundles).This of course disables
phpstan/extension-installer
as well so I'd like to run it manually somehow. Is there a way to do that?