PHPackages                             horizonhub/agent - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. horizonhub/agent

ActiveLaravel-package[Utility &amp; Helpers](/categories/utility)

horizonhub/agent
================

Horizon Hub Agent - push Horizon events to Horizon Hub

018↓50%PHP

Since Mar 7Pushed 3mo agoCompare

[ Source](https://github.com/enegalan/horizonhub-agent)[ Packagist](https://packagist.org/packages/horizonhub/agent)[ RSS](/packages/horizonhub-agent/feed)WikiDiscussions main Synced 3mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Horizon Hub Agent
=================

[](#horizon-hub-agent)

Laravel package that pushes Laravel Horizon events to a Horizon Hub instance and exposes endpoints for job actions (retry, delete, pause/resume queue).

Requirements
------------

[](#requirements)

- PHP 8.0+
- Laravel 10, 11, or 12
- Laravel Horizon (necessary; events are only pushed when Horizon is installed)

Installation
------------

[](#installation)

```
composer require horizonhub/agent
```

Install (publish config):

```
php artisan horizonhub:install
```

Configure `.env`:

```
HORIZON_HUB_URL=https://your-hub.example.com
HORIZON_HUB_API_KEY=your-api-key-from-hub
HORIZON_HUB_SERVICE_NAME=my-service

```

Events captured
---------------

[](#events-captured)

- `JobProcessed`
- `JobFailed`
- `JobProcessing`
- `SupervisorLooped`
- `QueuePaused`
- `QueueResumed`

Events are sent to the Hub as signed HTTP POST requests to `/api/v1/events`.

Action endpoints
----------------

[](#action-endpoints)

The Hub calls these routes on your application (with signature verification):

- `POST /horizonhub/jobs/{id}/retry` – retry a failed job
- `DELETE /horizonhub/jobs/{id}/delete` – remove a failed job
- `POST /horizonhub/queues/{name}/pause` – pause a queue
- `POST /horizonhub/queues/{name}/resume` – resume a queue

Ensure your application's `base_url` registered in the Hub is reachable by the Hub server.

License
-------

[](#license)

MIT

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance52

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/114651369?v=4)[Eneko Galan](/maintainers/enegalan)[@enegalan](https://github.com/enegalan)

---

Top Contributors

[![enegalan](https://avatars.githubusercontent.com/u/114651369?v=4)](https://github.com/enegalan "enegalan (14 commits)")

### Embed Badge

![Health badge](/badges/horizonhub-agent/health.svg)

```
[![Health](https://phpackages.com/badges/horizonhub-agent/health.svg)](https://phpackages.com/packages/horizonhub-agent)
```

###  Alternatives

[jcbrand/converse.js

Browser based XMPP instant messaging client

3.3k156.7k](/packages/jcbrand-conversejs)[francescomalatesta/laravel-circuit-breaker

A circuit breaker pattern implementation for the Laravel framework

2919.2k2](/packages/francescomalatesta-laravel-circuit-breaker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
