PHPackages                             ibrostudio/laravel-tasks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ibrostudio/laravel-tasks

ActiveLibrary

ibrostudio/laravel-tasks
========================

Tasks manager for Laravel

1.9.0(7mo ago)1231MITPHPPHP ^8.4CI passing

Since May 1Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/iBroStudio/laravel-tasks)[ Packagist](https://packagist.org/packages/ibrostudio/laravel-tasks)[ Docs](https://github.com/ibrostudio/laravel-tasks)[ RSS](/packages/ibrostudio-laravel-tasks/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (18)Versions (20)Used By (1)

Laravel Tasks
=============

[](#laravel-tasks)

A comprehensive Laravel package for managing pipelined processes and their tasks with state management, logging, and async execution capabilities.

[![Latest Version on Packagist](https://camo.githubusercontent.com/e8ecea64fc74903ca3cec48d5aa9f36012ad8ea3671e3916ef35894bf23dbf76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6962726f73747564696f2f6c61726176656c2d7461736b732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ibrostudio/laravel-tasks)[![Total Downloads](https://camo.githubusercontent.com/6105a3d5e76a2bd87f6d75965f40479177e3aaf3abf50c114c98bc39b90d1a7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6962726f73747564696f2f6c61726176656c2d7461736b732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ibrostudio/laravel-tasks)

Features
--------

[](#features)

- **Pipeline-based Process Execution**: Execute complex workflows using Laravel's Pipeline pattern
- **State Management**: Track process and task states (PENDING, PROCESSING, COMPLETED, ABORTED, WAITING)
- **Task Orchestration**: Chain multiple tasks within processes with automatic state transitions
- **Pause &amp; Resume**: Pause processes and resume them via signed URLs
- **Nested Processes**: Execute processes within other processes for complex workflows
- **Async Execution**: Dispatch processes to queues for background processing
- **Comprehensive Logging**: Built-in activity logging with batch support
- **Polymorphic Relations**: Associate processes with any Eloquent model
- **Payload Management**: Type-safe payload handling with DTOs
- **Exception Handling**: Graceful error handling with task-specific exceptions

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require ibrostudio/laravel-tasks
```

Run the installation command:

```
php artisan tasks:install
```

This command will:

- Publish the configuration file
- Publish and run the migrations

Configuration
-------------

[](#configuration)

The package publishes a configuration file to `config/tasks.php`:

```
