Manage your Laravel Forge Sites and Servers through Alfred

Manage your Laravel Forge Sites and Servers through Alfred

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.


Filed in: Development Tools / Forge


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Experienced PHP Developer
Wilmington, NC
Queensboro Shirt Company
Senior Laravel developer
Netherlands, Rotterdam
Pionect
Senior Laravel Engineer
Remote okay (must already live in USA)
Hawthorne Effect
Senior Software Engineer (Remote - Contract)
Remote
Koodi Systems
PHP Developer
Pittsburgh / Remote
Sequoia Waste Solutions
Software Developer
Eindhoven
Simac IDS
Application Developer Level II (CakePHP / MySql / Vue.js)
Lancaster, PA
Harbor Compliance