LaravelCollective / remote

Remote SSH Access for the Laravel Framework
MIT License
276 stars 106 forks source link

Laravel 9, 10 & 11 compatibility + phpseclib v3 #93

Open toonvandenbos opened 5 months ago

toonvandenbos commented 5 months ago

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 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.

Thanks!

Superseeds #86, #88 & #92