Ignore Provide packages #1559

Closed
lightglitch opened this Issue Feb 4, 2013 · 1 comment

Projects

None yet

2 participants

@lightglitch

If a package is defined in provide section:

    "provide": {
        "ext-phpiredis": "*"
    }

and the same extension is installed in the system composer gives an error.
It would be nice to give priority to installed packages and ignore the ones in this section.

PS: I'm using this because I'm developing on widows where the extension is not installed but when I used my linux test server it's there.

@Seldaek
Member
Seldaek commented Oct 17, 2014

There is now a --ignore-platform-reqs flag for install/update that allows you to install even if an ext is missing on windows, but #1522 would be a better fix for what you are doing I guess. Anyway I'm closing this as there is a workable solution but I'd suggest you track #1522 (should be fixed soon too).

@Seldaek Seldaek closed this Oct 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment