-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phpseclib - later versions (>0.3.8)? #12
Comments
Rate of development on phpseclib is pretty crazy. Nice to see, but keeping up is a full time job :-) |
Okay, going crazy - trying to install from a fork with a dependency of phplibsec 2.0 to see if it all works: {
"repositories": [
{
"type": "vcs",
"url": "https://github.com/academe/flysystem-sftp.git"
}
],
"require": {
"phpseclib/phpseclib": "^2.0",
"league/flysystem-sftp": "~1.0"
}
} Still getting the error:
It's as though composer is ignoring the repositories section. Why would it do that? Is composer broken - getting its composer.json from packagist even when it's told what repository to in? Ah, no - I need to go to Edit: All installed, but must go, will test later. |
@judgej which laravel package uses the phpseclib package? I didn't see anything in the laravel/framework repo. |
Hmm, not sure, maybe it's something else I have installed. |
I can't find anything that uses it, except a direct Right, so what I have now seems to work, and so long as nothing else needs a newer flysytem-sftp then I'm okay. I'll leave it at that for now. Sorry for wasting your time! It looks like @pilotftzi is on the case with 2.0.0 anyway. Not sure if you want to close this issue, or leave it open as a placeholder for PR #11 ? |
If we do not jump to 2.0, flysystem-sftp will fail on PHP7 because of phpseclib. See this. |
I'm having an issue with a sftp server where I can not connect with, it just hangs. This is caused by a bug in phpseclib ~0.3 which was fixed in ~1.0. Please update the dependency :) |
@soee sorry for the wait guys, I'll be tackling this issue tomorrow. |
Sorry for the wait people, been super busy. I'll get this up to date tomorrow, possibly tonight fingers crossed. |
It's released as 1.0.7 |
@frankdejonge Than you very much! :) |
Thanks! :) |
phpseclib 0.3.8 is a year old now. Versions 1.0.0 and 2.0.0 are now out, and are being used by framewords such as Laravel 5.1. This makes installing flysystem-sftp difficult on modern frameworks.
I don't know what v1 and v2 of phpseclib bring, and whether they would work for flysystem-sftp, but would they be compatible? Could the version requirements be extended?
The text was updated successfully, but these errors were encountered: