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

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Bifrost Turns One With AI Builds and New Workflows image

Bifrost Turns One With AI Builds and New Workflows

Read article
Preview Blade Templates in macOS Finder with Quick Blade image

Preview Blade Templates in macOS Finder with Quick Blade

Read article
Artisan Debugging Commands in Laravel Telescope 5.24.0 image

Artisan Debugging Commands in Laravel Telescope 5.24.0

Read article
Queue totalSize() and JobInterrupted Event in Laravel 13.31 image

Queue totalSize() and JobInterrupted Event in Laravel 13.31

Read article
Find Unexpected Test Inputs with Fuzz for Pest image

Find Unexpected Test Inputs with Fuzz for Pest

Read article
Laravel Rulebook: Business Rules That Change by Date image

Laravel Rulebook: Business Rules That Change by Date

Read article