Forge: Site Commands

Mar, 30 2021#forge

Forge has had the ability to execute arbitrary Bash scripts on your server via Recipes for some time now. However, sometimes you may just need to run a quick command without the overhead of creating a new recipe.

So, today we're shipping a new Commands panel that lets you run one off commands from within the site's directory and as the correct user.

Using the Commands panel.

Using the Commands panel.

The last 10 commands will be logged in the Command History panel, along with the user who initiated it, the executed command, the command status, and the command's output. Commands which return a non-zero exit code will be flagged as failed.

You can watch a demonstration of the Commands Panel video on our YouTube channel.

If you don’t have a Forge account, now is a great time to sign up! Forge allows you to painlessly create and manage PHP servers which include MySQL, Redis, Memcached, database backups, and everything else you need to run robust, modern Laravel applications.

By James Brooks

Software Developer at Laravel, working on Forge and Envoyer.

Find me on Twitter, GitHub or my blog.

Follow the RSS Feed.