spatie/laravel-long-running-tasks
Monitor externally executed long-running tasks in Laravel (e.g., AWS Rekognition) by polling for status. Define tasks with a check() method returning ContinueChecking or StopChecking, store metadata, and run checks on a configurable interval until completion.
Adopt When:
pending, processing, failed, completed) with automatic retries.202 Accepted immediately).Look Elsewhere If:
spatie/laravel-webhooks or similar).*"This package solves a critical scalability bottleneck: long-running external tasks (e.g., video processing, AI inference) that currently block HTTP responses or require manual polling. By integrating spatie/laravel-long-running-tasks, we can:
202 Accepted responses while tasks run asynchronously.*"This package provides a batteries-included solution for managing external polling-based tasks in Laravel. Key benefits:
pending/processing states with configurable retry logic.TaskResult (success/failure) and integrates with Laravel’s queue system.How can I help you explore Laravel packages today?