Download the PHP package elyerr/horizon without Composer

On this page you can find all versions of the php package elyerr/horizon. 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 horizon

Build Status Total Downloads Latest Stable Version License

Introduction

Horizon provides a beautiful dashboard and code-driven configuration for your Laravel powered Redis queues. Horizon allows you to easily monitor key metrics of your queue system such as job throughput, runtime, and job failures.

All of your worker configuration is stored in a single, simple configuration file, allowing your configuration to stay in source control where your entire team can collaborate.

Official Documentation

Documentation for Horizon can be found on the Laravel website.


โœจ Content Security Policy (CSP) Support for Horizon

Laravel Horizon adds full Content Security Policy (CSP) compatibility, including automatic nonce generation and safe injection into all Horizon inline <script> and <style> tags.

Modern CSP configurations disallow inline scripts/styles unless they include a valid nonce. The original Horizon UI relied on multiple inline scripts, which made it incompatible with strict CSP setups.

Now the Horizon UI so it works correctly under:


๐Ÿ“˜ Content Security Policy (CSP) Support

Content Security Policy (CSP) is a security standard that helps protect web applications from XSS and content injection attacks. It works by defining which scripts, styles, and external resources are allowed to run.

This fork adds full, native CSP support to Laravel Horizon, allowing you to keep strong security rules without needing to weaken your policy.


๐Ÿ”ง How CSP Support Works

This version of Horizon automatically uses the CSP nonce you generate in your application and applies it to:

The middleware in your app shares the nonce globally, making it available to all Blade views, including Horizon.


โš™๏ธ Usage

  1. Generate a nonce on each request in a middleware.
  2. Share the nonce globally (e.g., view()->share('nonce', $nonce)).
  3. Attach your CSP headers.
  4. Register the middleware in the web group.

Horizon will automatically detect the nonce and apply it internally.


๐Ÿ“„ Example Middleware (Oauth2 Passport Server)

Your middleware implementation can be seen here:
SecureHeaders:
https://github.com/elyerr/oauth2-passport-server/blob/main/app/Http/Middleware/SecureHeaders.php

It handles:


๐Ÿ“ Kernel Registration

Laravel 10 and below

Laravel 11+


Contributing

Thank you for considering contributing to Horizon! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Laravel Horizon is open-sourced software licensed under the MIT license.


All versions of horizon with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-json Version *
ext-pcntl Version *
ext-posix Version *
illuminate/contracts Version ^9.21|^10.0|^11.0|^12.0|^13.0
illuminate/queue Version ^9.21|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^9.21|^10.0|^11.0|^12.0|^13.0
laravel/sentinel Version ^1.0
nesbot/carbon Version ^2.17|^3.0
ramsey/uuid Version ^4.0
symfony/console Version ^6.0|^7.0|^8.0
symfony/error-handler Version ^6.0|^7.0|^8.0
symfony/polyfill-php83 Version ^1.28
symfony/process Version ^6.0|^7.0|^8.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 elyerr/horizon contains the following files

Loading the files please wait ...