tey/docket
Docket is a lightweight Laravel package for defining, organizing, and tracking scheduled tasks or jobs. It provides a simple API to register docket entries, monitor status, and integrate cleanly with existing Laravel workflows.
Docket is a migration orchestration/tracking package (v0.1.x, pre-1.0) that wraps Laravel migrations in tracked "runs" and manages the database connections used to execute them. Start here:
composer require teylabs/docket and publish its config/migrations (php artisan vendor:publish --tag=docket-config / docket-migrations, or the equivalents listed in the package README).config/docket.php and the package service provider first — they define the generated connection naming, the runs table, and how the current-run stack is initialized.runs table and its self-referencing foreign key; this is the schema v0.1.1 fixes on PostgreSQL.php artisan migrate directly, so each batch is recorded as a run and failed batches roll back on the same connection they started on.Because this is a 0.1.x release, pin an exact version in composer.json and read the changelog before upgrading.
migrate directly, so the run record and the migration writes stay in sync.runs table and the generated connection names together; a mismatch between the recorded connection and the one your migration actually used is the usual culprit for "migration succeeded but run failed" symptoms.How can I help you explore Laravel packages today?