spatie/ssh
spatie/ssh is a lightweight PHP package for running commands over an SSH connection. Execute commands synchronously or asynchronously, run multiple commands, choose a custom port, and inspect results via Symfony's Process.
spatie/ssh is a lightweight PHP package for executing commands over an SSH connection with almost no boilerplate. Built on Symfony's Process component, it returns a process instance so you can check success with isSuccessful() and read results with getOutput().
Ssh::create('user', 'host')->execute('command')executeAsync()execute() to run multiple commands in sequenceHow can I help you explore Laravel packages today?