Reputation: 16792
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?
Upvotes: 0
Views: 373
Reputation: 25701
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
?
Upvotes: 1