21torr/task-manager
Small wrapper around symfony/messenger that simplifies task management in PHP/Symfony apps. Helps you define, dispatch, and handle tasks with a cleaner API while keeping Messenger under the hood. Includes documentation for quick setup and usage.
TaskLog and CLI commands (task-manager:log, task-manager:debug).DispatchAfterRunTask) and requeueing failed tasks in development, improving fault tolerance.TaskScheduler for delayed or recurring tasks, reducing reliance on cron jobs or external schedulers.LogCleaner) and reduces memory usage for high-throughput systems.TaskDirector) for ETL or batch processing.Adopt if:
Look elsewhere if:
*"This package lets us standardize how we handle background jobs in Symfony, cutting development time by 30% while adding critical features like task retries, scheduling, and debugging tools. For example:
Ask: "Should we prioritize this to unblock [X] feature or reduce tech debt?"
*"This is a Symfony Messenger wrapper that adds:
TaskLog for debugging.task-manager:log → Inspect task history.task-manager:run-worker → Control batch processing (e.g., limit tasks to 5 at a time).task-manager:debug → List all tasks/queues.DispatchAfterRunTask).Trade-offs:
Task base class (migration effort).Proposal:
Next Steps:
How can I help you explore Laravel packages today?