Laravel 10 Horizon Integration Tutorial Example

  • 10-03-2023
  • 1211
  • Laravel 10
  • Haresh Chauhan

Watch Youtube Video (HINDI) :

Hello Developer,

Laravel Horizon; in this post we will look at laravel horizon how to install it, what the use of laravel horizon is, and how it is helping us by installing it in our application. These are all things we will cover in this Laravel Horizon Tutorial.

I will tell you How to Install Horizon in Laravel as well as how to open horizon in a local development server all things from scratch I will tell you to step by step. you just need to follow the step to integrate laravel horizon.

Horizon In laravel is a powerful tool for the app debugging and monitoring laravel app, incoming request, outgoing request, queue job, failed job, mail send, failed mail, errors, and server error. this is all the thing laravel horizon will monitor and let you know. So let's start integration.

Step 1. Install Project

Install Laravel 10 project, use the below command, and paste it into your command prompt, make sure your php version is 8.0 or greater. Skip this step if you already installed the laravel 10 projects, and move forward to the next step.

composer create-project laravel/laravel example-app

Step 2. Install Horizon Composer

We need to install composer install for the horizon in laravel, use the below-provided command in your project terminal and install. This command will install core libraries in your vendor folder of the application. use copy the given command and paste it into your terminal.

composer require laravel/horizon

Step 3. Install Horizon (Optional)

If you not getting installed horizon package, use this given command in your app terminal this will install force with the ignore all platform request and will help you to install that composer.

composer require laravel/horizon --ignore-platform-reqs

Step 4. Publish Asset

After successfully installing horizon, we will publicize its assets. publish its assets using horizon:install artisan command.

php artisan horizon:install

This will provide a default setting in your config, which you can modify according to your requirement.

Step 5. Start Server

Now we will start to sever using the below command.

php artisan serve

Now we will start Horizon Just by pressing the below URL in our browser.

http://localhost:8000/horizon

We always thanks to you for reading our blogs.


dharmesh-image

Dharmesh Chauhan

(Swapinfoway Founder)

Hello Sir, We are brothers origin from Gujarat India, Fullstack developers working together since 2016. We have lots of skills in web development in different technologies here I mention PHP, Laravel, Javascript, Vuejs, Ajax, API, Payment Gateway Integration, Database, HTML5, CSS3, and Server Administration. So you need our service Please Contact Us

haresh-image

Haresh Chauhan

(Co-Founder)


We Are Also Recommending You :