The queue-instrumentation kernel behind Deck.
deck/core hooks Laravel's queue, records every job-execution lifecycle
transition into a JobExecutionRecord, and fires a single JobExecutionRecorded
event. It has no database and no dashboard — sinks subscribe to the event
from other packages:
deck/deckpersists executions to your database and renders the dashboard.deck/cloudstreams them to Deck Cloud.
You normally don't install this package directly — you install deck/deck (full
self-hosted app) or deck/cloud (slim agent), both of which require it.
- Queue payload stamping, the Deck bus dispatcher, and the queued-job handler.
- The recorder →
JobExecutionRecordedevent seam and theJobExecutionRecordercontract. - Cache-based control primitives: cooperative cancellation, pending-job cancellation, and job-class blocking.
- The storage-free retry primitive (
JobExecutionRetry+JobExecutionRetryContext). - Shared data objects (
JobExecutionRecord,ObservabilitySnapshot, …) and Horizon read helpers.
Deck\Core\Events\JobExecutionRecorded carrying Deck\Core\Data\JobExecutionRecord
is the seam every sink builds on. Treat that DTO as a versioned public contract.
PHP 8.3+ · Laravel 11–13 · Redis (for cancel/block flags). Horizon 5.x is optional and enables richer worker snapshots and failed-job retry.
composer require deck/coreThe service provider (Deck\Core\DeckCoreServiceProvider) is auto-discovered.
composer test
composer analyseMIT © Tor Morten Jensen. See LICENSE.md.