Download the PHP package vdlp/oc-horizon-plugin without Composer

On this page you can find all versions of the php package vdlp/oc-horizon-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package oc-horizon-plugin

Vdlp.Horizon

Provides a seamless integration of Laravel Horizon 5.0 inside October CMS.

Laravel Horizon Logo

Queues, With X-Ray Vision. Supercharge your queues with a beautiful dashboard and code-driven configuration.

Laravel Horizon Dashboard

A match made in heaven

Horizon is developed by the core developers of the Laravel framework and provides a robust queue monitoring solution for Laravel's Redis queue. Horizon allows you to easily monitor key metrics of your queue system such as job throughput, runtime, and job failures.

Open Source

Horizon is 100% open source, so you're free to dig through the source to see exactly how it works. See something that needs to be improved? Just send us a pull request on GitHub.

Requirements

Installation

Turn off auto discovery for laravel/horizon (important)

Because this plugin has it's own HorizonServiceProvider which extends from the Laravel\Horizon\HorizonServiceProvider we need to prevent the Laravel\Horizon\HorizonServiceProvider from being loaded due to Laravels' auto package discovery.

You should add the dont-discover option to your projects composer.json file (which is located in the root path of your project).

IMPORTANT: After adding these lines, make sure you execute composer update to apply the changes. You also need to remove the file storage/framework/packages.php file. No worries. This file will be re-generated once you access your project.

IMPORTANT: Make sure the composer.json is deployed to your hosting site. This will be parsed by te framework to determine which service providers should be ignored.

Configuration

It's recommended to add your Queue Worker Configuration config.horizon.environments to the .env file as well.

Server configuration

Creating Job classes

Follow the instructions at Laravel 9.x generating job classes on how to make Job classes.

Please note that the use of the php artisan make:job command is not supported in October CMS. October CMS is using a different application structure in comparison to a generic Laravel project.

This plugin also contains an example job file: Vdlp\Horizon\Example. This example file does not use the SerializesModels and InteractsWithQueue trait.

Testing

  1. Log-in to the backend.
  2. Put application in debug mode using the .env file: APP_DEBUG=true or by changing the debug key in the config/app.php file.
  3. Run Horizon using this command: php artisan horizon.
  4. Now run this command to push some Vdlp\Horizon\Example jobs to the queue:

  5. Check the Horizon dashboard at /backend/vdlp/horizon/dashboard or at /horizon.
  6. Each Vdlp\Horizon\Example job should log a random string to the application log (level = debug).

Documentation

Please go to the Laravel website for detailed documentation about Laravel Horizon.

Horizon for Laravel 9.x

Questions

If you have any question about how to use this plugin, please don't hesitate to contact us at [email protected]. We're happy to help you. You can also visit the support forum and drop your questions/issues there.


All versions of oc-horizon-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
ext-pcntl Version *
ext-posix Version *
ext-redis Version *
composer/installers Version ^1.0 || ^2.0
laravel/horizon Version ^5.0
october/rain Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vdlp/oc-horizon-plugin contains the following files

Loading the files please wait ....