We're aware this package is abandoned in favor of spatie/ssh, but since this repository still offers more configuration options we're still using it for some older projects.
This PR's main objective is to bump phpseclib to the current v3. For our usage, this PR is working fine, but there is one breaking change you should be aware of (due to phpseclib's upgrade): the callback passed to run($commands, $callback) is no longer called line per line, it is now called after the whole command output has been received.
Hope this PR will be accepted in case other developers still prefer this package over Spatie's simpler solution.
Hi there,
We're aware this package is abandoned in favor of
spatie/ssh
, but since this repository still offers more configuration options we're still using it for some older projects.This PR's main objective is to bump
phpseclib
to the current v3. For our usage, this PR is working fine, but there is one breaking change you should be aware of (due tophpseclib
's upgrade): the callback passed torun($commands, $callback)
is no longer called line per line, it is now called after the whole command output has been received.Hope this PR will be accepted in case other developers still prefer this package over Spatie's simpler solution.
Thanks!
Superseeds #86, #88 & #92