spatie/ssh
Execute commands over SSH with a simple PHP API. Create a connection with user/host (and optional port), run single or multiple commands synchronously or async, and get a Symfony Process back to inspect success and capture output.
A lightweight package to execute commands over an SSH connection
How can I help you explore Laravel packages today?