Try Depot: Bring ultra-fast, remote Docker builds directly to your Laravel workflow

Manage your Laravel Forge Sites and Servers through Alfred

Published on by

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.

Filed in:
Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

image
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

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

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

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

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

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Laravel Cloud logo

Laravel Cloud

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

Laravel Cloud
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit

The latest

View all →
The Laravel Community Mobile App Helps You Discover Events and Connect With Developers image

The Laravel Community Mobile App Helps You Discover Events and Connect With Developers

Read article
A PHP Package for Concurrent Website Crawling image

A PHP Package for Concurrent Website Crawling

Read article
A Clean API for Reading PHP Attributes image

A Clean API for Reading PHP Attributes

Read article
Serve Markdown Versions of Your Laravel Pages to AI Agents image

Serve Markdown Versions of Your Laravel Pages to AI Agents

Read article
The Inertia v3 Beta is Here image

The Inertia v3 Beta is Here

Read article
Polyscope Is an Ai-First Dev Environment for Orchestrating Agents image

Polyscope Is an Ai-First Dev Environment for Orchestrating Agents

Read article