repat/laravel-job-models
Two Eloquent models for Laravel's jobs and job_fails tables, with Carbon casting for timestamps, array casting for payloads, and getters for payload keys like display_name, max_tries, command, and more.
failed_at, timeout_at) without custom SQL.display_name, max_tries) to non-technical users.max_tries or exceed timeout.data array).queue:table and queue:failed-table migrations already run).jobs table.JobFailed) or real-time monitoring—this package is read-only.NOASSERTION license (README says MIT)—validate license and pin versions; recent releases (through Laravel 12) mitigate maintenance risk.For Executives:
“This lightweight package lets us query and analyze queue jobs and failures like database records—no custom code needed. It cuts debugging time for critical jobs (e.g., payments, notifications) and enables job retry dashboards or failure alerts, improving reliability without extra dev effort.”
For Engineering:
*“Replace manual SQL queries for jobs/job_fails tables with Eloquent models that auto-cast timestamps (e.g., reserved_at → Carbon) and expose payload data as properties (e.g., $job->command_name). Perfect for:
$job->failed_at->diffInMinutes() to measure downtime./jobs/{id} API endpoint with zero boilerplate.How can I help you explore Laravel packages today?