PHPackages                             deck/cloud - 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. deck/cloud

ActiveLibrary

deck/cloud
==========

The Deck Cloud agent: streams job-execution observability, worker snapshots, and remote command handling to Deck Cloud. Database-free; install alone for a slim agent or with deck/deck for the full dashboard.

00PHPCI passing

Since Aug 6Pushed todayCompare

[ Source](https://github.com/getdeckapp/cloud)[ Packagist](https://packagist.org/packages/deck/cloud)[ RSS](/packages/deck-cloud/feed)WikiDiscussions main Synced today

READMEChangelog (2)DependenciesVersions (1)Used By (0)

Deck Cloud Agent
================

[](#deck-cloud-agent)

**The slim, database-free [Deck](https://github.com/getdeckapp/deck) agent that streams queue observability to [Deck Cloud](https://deckapp.cloud).**

`deck/cloud` turns any Laravel app or worker into a Deck Cloud agent: it records job executions and ships them to Deck Cloud over HTTP, reports queue worker snapshots, and pulls and applies remote commands — **without a local database or dashboard**. Install it on worker boxes where you want observability and remote control but not the self-hosted UI.

For the full self-hosted experience (local database + Livewire dashboard), install [`deck/deck`](https://github.com/getdeckapp/deck) instead — it already includes this agent.

What you get
------------

[](#what-you-get)

- **Live execution streaming** — the HTTP sink subscribes to the kernel's `JobExecutionRecorded` event and batches executions to the Deck Cloud ingest API.
- **Worker reporting** — `deck:report-workers` reports Horizon (or plain queue) worker snapshots.
- **Remote commands** — `deck:poll-commands` pulls and applies commands from Deck Cloud: cancel, force-cancel, cancel-pending, block / unblock a job class, cancel-all-running-for-class, and retry. Every command is applied through cache/queue primitives using context carried on the command payload, so it works with **no local database**.

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

[](#requirements)

PHP 8.3+ · Laravel 11–13 · Redis (queues + cancel/block flags) · a Deck Cloud API key. [Horizon](https://laravel.com/docs/horizon) 5.x recommended for richer worker snapshots and failed-job retry.

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

[](#installation)

```
composer require deck/cloud
```

`deck/cloud` pulls in `deck/core` automatically. Configure the agent with the standard Deck environment variables:

```
DECK_API_KEY=your-agent-token
DECK_PROJECT=billing-api
DECK_ENVIRONMENT=production
```

The agent is opt-in: with no `DECK_API_KEY` set it stays completely inert. The service provider (`Deck\Cloud\DeckCloudServiceProvider`) is auto-discovered and schedules worker reporting and command polling when Cloud is enabled.

Configuration
-------------

[](#configuration)

All settings live under the shared `deck.cloud.*` config namespace (see `config/deck.php`); the `DECK_CLOUD_*` env variables are identical whether you run the slim agent or the full `deck/deck` app.

Development
-----------

[](#development)

```
composer test
composer analyse
```

License
-------

[](#license)

MIT © [Tor Morten Jensen](https://github.com/tormjens). See [LICENSE.md](LICENSE.md).

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance65

Regular maintenance activity

Popularity0

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/16b2089f55ff5ab3154ef21caec78446d23b1515cc074d2d1c2bf184a9e64603?d=identicon)[tormjens](/maintainers/tormjens)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/deck-cloud/health.svg)

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

PHPackages © 2026

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