News

Manage your Laravel Forge Sites and Servers through Alfred

Published
Manage your Laravel Forge Sites and Servers through Alfred image

Since the release of the Forge API developers have started creating a lot of apps and integrations, as well as an unofficial SDK. For those that use Alfred on the Mac, Vince Mitchell, launched a Workflow so you can quickly run many Forge commands right from your desktop.

Some of the commands include:

  • forge key {key} : Sets your Forge API Key
  • forge open {site or server} : Opens the specified server or site’s Forge page in your browser
  • forge deploy {site} : Deploys the site specified (must confirm)
  • forge env {site} : Copies the env file of the site specified to your clipboard
  • forge ip {server} : Copies the ip address of the specified server to your clipboard
  • forge reboot {server} : Reboots the specified server (must confirm)
  • forge mysql {server} : Restarts MySQL on the specified server (must confirm)
  • forge postgres {server} : Restarts Postgres on the specified server (must confirm)
  • forge nginx {server} : Restarts Nginx on the specified server (must confirm)
  • forge term {server} : Opens SSH connection in Terminal to the specified server
  • forge iterm {server} : Opens SSH connection in iTerm to the specified server
  • forge reload : Fetches new data from Forge API
  • forge clear : Deletes your API Key and Forge Data

Getting started is easy. Visit the Workflow page on Packal and download it. Next, just double click the download and it’ll instantly be added to Alfred and you’ll see the following screen showing you the internal commands:

Next, launch Alfred and type forge key then paste in your API key. That’s it! Now you are ready to go.

For more information you can check out the GitHub repo and download it from Packal.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Laravel 14 Adds a defaults() Method to Eloquent Models image

Laravel 14 Adds a defaults() Method to Eloquent Models

Read article
Laravel AI SDK and Laravel MCP Security Fixes: Update Now image

Laravel AI SDK and Laravel MCP Security Fixes: Update Now

Read article
Mailbox for Laravel: Preview and Test Rendered Email image

Mailbox for Laravel: Preview and Test Rendered Email

Read article
Count Worker Crashes as Job Exceptions in Laravel 13.34 image

Count Worker Crashes as Job Exceptions in Laravel 13.34

Read article
Elastic Bridge: Eloquent-Style Queries for Elasticsearch and OpenSearch image

Elastic Bridge: Eloquent-Style Queries for Elasticsearch and OpenSearch

Read article
Laravel Release Cycle: Versions, Support Policy, and Dates image

Laravel Release Cycle: Versions, Support Policy, and Dates

Read article