Question

Here's my projects composer.json:

{
    "require": {
        "phpseclib/phpseclib": "0.3.x"
    }
}

Here's phpseclib's composer.json:

https://github.com/phpseclib/phpseclib/blob/master/composer.json

Note how that file has in it this line:

        "System": "phpseclib/"

When I do cat vendor/phpseclib/phpseclib/composer.json I don't see that line. Why not?

No correct solution

OTHER TIPS

You have told Composer to download the latest tagged version of "phpseclib/phpseclib" that matches "0.3.x".

First - there is no version tagged since they added "System": "phpseclib/" so Composer isn't downloading it. You should set the required version to be dev-master if you want to get the absolutely latest version.

Second - I don't think 0.3.x isn't a valid semver version. Did you mean 0.3.* or the equivalent ~0.3 ?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top