TubeSum ← Transcribe a video

Setup Laravel Horizon on Forge

Transcribed Jun 14, 2026 Watch on YouTube ↗
Beginner 2 min read For: Laravel developers using Forge who want to set up queue monitoring with Horizon.
4.8K
Views
126
Likes
10
Comments
2
Dislikes
2.8%
📈 Moderate

AI Summary

This video demonstrates how to set up Laravel Horizon on Laravel Forge to monitor queues. It covers enabling Horizon via a toggle, adding a termination command to the deployment script, and configuring the scheduler for metrics snapshots.

[0:00]
Overview

Laravel Forge simplifies deployment, and Laravel Horizon simplifies queue monitoring. The video shows how to use them together.

[0:43]
Enabling Horizon on Forge

Turn on the Laravel Horizon switch in Forge to automatically set up a daemon to run Horizon.

[1:05]
Deployment Script Modification

Add 'forge artisan horizon:terminate' to the deployment script to restart Horizon on each deploy.

[1:46]
Metrics Dashboard Setup

Horizon's metrics dashboard requires the 'horizon:snapshot' command to run via the scheduler. Add 'artisan schedule:run' to Forge's scheduler or enable the Laravel Scheduler switch.

Setting up Laravel Horizon on Laravel Forge is straightforward: enable the Horizon toggle, add a termination command to the deployment script, and configure the scheduler for metrics snapshots.

Clickbait Check

95% Legit

"Title accurately reflects content: a straightforward guide to setting up Horizon on Forge."

Mentioned in this Video

Tutorial Checklist

1 0:43 Turn on the Laravel Horizon switch in Forge.
2 1:05 Add 'forge artisan horizon:terminate' to the deployment script.
3 1:46 Ensure 'horizon:snapshot' is scheduled: add 'artisan schedule:run' to Forge's scheduler or enable the Laravel Scheduler switch.

Study Flashcards (3)

What command should be added to the deployment script to restart Horizon on each deploy?

easy Click to reveal answer

forge artisan horizon:terminate

1:05

How do you enable Horizon on Laravel Forge?

easy Click to reveal answer

Turn on the Laravel Horizon switch in Forge.

0:43

What command needs to be scheduled for Horizon's metrics dashboard to work?

medium Click to reveal answer

horizon:snapshot (via artisan schedule:run)

1:46

💡 Key Takeaways

🔧

One-click Horizon enable

Demonstrates the simplicity of enabling Horizon on Forge with a single toggle.

0:43
🔧

Deployment script integration

Shows how to automatically restart Horizon during deployments using a simple command.

1:05
📊

Metrics dashboard scheduler setup

Explains the additional step needed to collect queue metrics via the scheduler.

1:46

✂️ Creator Tools: Viral Hooks

AI-generated clip ideas for Shorts based on the transcript

One-click Horizon setup on Laravel Forge

53s

Shows how to enable Horizon with a single toggle, surprising developers who expect complex configuration.

▶ Play Clip

Manual Horizon setup: deployment script trick

60s

Reveals the hidden deployment command needed to restart Horizon, a common gotcha for developers.

▶ Play Clip

Horizon metrics dashboard setup

60s

Explains how to enable the scheduler for Horizon snapshots, a step many miss for monitoring.

▶ Play Clip

[00:00] larl Forge is one of the easiest ways to

[00:02] deploy your larl application to your

[00:03] server while larl Horizon is one of the

[00:06] easiest ways to monitor your cues but

[00:08] how easy is it to use Lille Horizon and

[00:11] Lille Forge together why don't we take a

[00:14] look I've already created and scaffolded

[00:16] out lville application with Lille Breeze

[00:19] and lville Horizon installed that's in

[00:21] my GitHub repository and then I have a

[00:23] server in my laravel Forge account in

[00:27] that server I have a site with that g

[00:30] repository already set up so you already

[00:32] have an application on lville Forge you

[00:34] have lville Horizon installed on that

[00:35] application what's the steps to make

[00:38] sure that Horizon is actually running on

[00:40] Lille Forge well it's a little tricky we

[00:43] have this lville Horizon switch right

[00:46] here and I'm just going to turn that

[00:51] on

[00:53] and that's

[00:57] it okay but there are some things that

[00:59] actually happen behind the scenes and if

[01:01] you wanted to set this up manually how

[01:03] would you do that well the first thing

[01:05] that happens is in our deployment we

[01:07] need to make sure that we have Forge

[01:09] Artisan Horizon terminate in our

[01:12] deployment script this is just telling

[01:14] Lille Forge that anytime we redeploy

[01:17] something in this case I have quick

[01:18] deploy enabled with my GitHub repository

[01:21] we're just going to restart lville

[01:23] Horizon next turning on that switch

[01:26] started an active Damon on our server to

[01:28] run Horizon and just to make sure

[01:31] everything's working we'll go ahead and

[01:32] go to Horizon there we go everything's

[01:36] installed everything's running behind

[01:38] the scenes and no other setup is needed

[01:40] if you're wanting to have lville Horizon

[01:42] Lille Forge running on the same server

[01:45] now one more thing to know is Horizon

[01:46] does include a metrics dashboard which

[01:49] provides information regarding your job

[01:51] and Q times and you have to make sure

[01:53] that that Horizon snapshot command is

[01:55] actually located and actually running in

[01:58] your application so first you just make

[02:00] sure that this is in your routes console

[02:03] file so in your server you go ahead and

[02:05] go to your scheduler Tab and in here

[02:07] you'll create a new schedule job with

[02:09] the command to run Artisan schedule run

[02:12] in your site folder so this would be

[02:15] maybe default or whatever your site is

[02:17] named Forge and then whenever you would

[02:19] like that scheduled command to be run or

[02:22] since laral Forge also makes this part

[02:24] incredibly easy as well you go into your

[02:26] site and the site you want to enable

[02:28] that scheduler to run

[02:30] there's this simple Lille scheduler

[02:32] switch right here we'll turn that

[02:35] on and you can see it sets everything up

[02:39] for us if I was to go back into our

[02:41] scheduler we have that custom job ran

[02:44] every minute right there and of course

[02:47] you can edit that as need be lville

[02:49] Horizon is incredibly simple to get up

[02:51] and running on Lille Forge so that you

[02:53] can easily monitor your cues while

[02:55] deploying effortlessly

[02:58] [Applause]

[02:59] [Music]

⚡ Saved you time reading this? Transcribe any YouTube video for free — no signup needed.