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 2mo agoCompare

[ Source](https://github.com/enegalan/horizonhub-agent)[ Packagist](https://packagist.org/packages/horizonhub/agent)[ RSS](/packages/horizonhub-agent/feed)WikiDiscussions main Synced 1mo 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

21

—

LowBetter than 18% of packages

Maintenance57

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

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://www.gravatar.com/avatar/a868b6d6225f867a4ccc1bef96eda2127133f35424f7497a1dd02be7ad6bb2cc?d=identicon)[enegalan](/maintainers/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

[vinelab/url-shortener

URL shortening the easy way.

6217.2k](/packages/vinelab-url-shortener)

PHPackages © 2026

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