spatie/global-laravel-remote
Run Laravel artisan commands on a remote server from your terminal. Install globally via Composer and execute with global-laravel-remote "{cmd}" to trigger remote artisan tasks without SSHing into the machine each time.
migrate, queue:work, schedule:run) on remote Laravel servers without SSH access, reducing manual intervention and human error.optimize:clear, config:cache) via API calls.queue:flush) programmatically.ssh or Ansible).For Executives:
"This package lets us automate server tasks (like deployments or maintenance) without manual SSH logins, cutting downtime and errors. For example, after a deploy, we can trigger php artisan optimize via an API call—no more forgotten steps. It’s lightweight, secure (MIT-licensed), and maintained by Spatie, a trusted open-source vendor. Low risk, high ROI for DevOps efficiency."
For Engineering:
*"Spatie’s global-laravel-remote provides a secure, HTTP-based way to run Artisan commands remotely. Key benefits:
POST /remote-command with a signed payload).$response = Http::post('https://your-app.com/remote-command', [
'command' => 'queue:restart',
'signature' => 'your-signed-hash'
]);
.env).How can I help you explore Laravel packages today?