PHPackages                             viicslen/laravel-trackable-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. viicslen/laravel-trackable-tasks

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

viicslen/laravel-trackable-tasks
================================

This is my package laravel-trackable-tasks

v11.0.1(1y ago)06.0k↓25%MITPHPPHP &gt;=8.2CI failing

Since Apr 18Pushed 1y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (11)Versions (43)Used By (0)

Laravel Trackable Tasks
=======================

[](#laravel-trackable-tasks)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c3d21c555674c0694983ae8d360aa655153c65815ed5f6aa68f5b8535b064c91/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76696963736c656e2f6c61726176656c2d747261636b61626c652d7461736b732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/viicslen/laravel-trackable-tasks)[![GitHub Tests Action Status](https://camo.githubusercontent.com/21681f156dded94d718714aef7223f16c7a7b766ac3d5c34ef85be592c76b96e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f76696963736c656e2f6c61726176656c2d747261636b61626c652d7461736b732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/viicslen/laravel-trackable-tasks/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/3fb9736e8c86aa6bdd7a216c6f3883b2ec325e86bcbb291d9258452b95019ed4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f76696963736c656e2f6c61726176656c2d747261636b61626c652d7461736b732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/viicslen/laravel-trackable-tasks/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/22ed577fcc9f44411e80f6a8397b7b2f9941cc39ffe56a9ab7366baaf678b238/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76696963736c656e2f6c61726176656c2d747261636b61626c652d7461736b732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/viicslen/laravel-trackable-tasks)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require viicslen/laravel-trackable-tasks
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="trackable-tasks-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="trackable-tasks-config"
```

This is the contents of the published config file:

```
return [
    'queue_listener' => ViicSlen\TrackableTasks\QueueListeners\DefaultListener::class,
    'model' => ViicSlen\TrackableTasks\Models\TrackedTask::class,
    'prunable_after' => 90,
    'database' => [
        'connection' => null,
        'table' => 'tracked_task',
    ],
    'events' => [
        'retrieved' => ViicSlen\TrackableTasks\Events\TrackableTaskRetrieved::class,
        'creating' => ViicSlen\TrackableTasks\Events\TrackableTaskCreating::class,
        'created' => ViicSlen\TrackableTasks\Events\TrackableTaskCreated::class,
        'updating' => ViicSlen\TrackableTasks\Events\TrackableTaskUpdating::class,
        'updated' => ViicSlen\TrackableTasks\Events\TrackableTaskUpdated::class,
        'saving' => ViicSlen\TrackableTasks\Events\TrackableTaskSaving::class,
        'saved' => ViicSlen\TrackableTasks\Events\TrackableTaskSaved::class,
        'deleting' => ViicSlen\TrackableTasks\Events\TrackableTaskDeleting::class,
        'deleted' => ViicSlen\TrackableTasks\Events\TrackableTaskDeleted::class,
        'restoring' => ViicSlen\TrackableTasks\Events\TrackableTaskRestoring::class,
        'restored' => ViicSlen\TrackableTasks\Events\TrackableTaskRestored::class,
        'force_deleting' => ViicSlen\TrackableTasks\Events\TrackableTaskForceDeleted::class,
        'trashed' => ViicSlen\TrackableTasks\Events\TrackableTaskTrashed::class,
        'replicating' => ViicSlen\TrackableTasks\Events\TrackableTaskReplicating::class,
        'exception_added' => ViicSlen\TrackableTasks\Events\TrackableTaskExceptionAdded::class,
        'status_updated' => ViicSlen\TrackableTasks\Events\TrackableTaskStatusUpdated::class,
    ],
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-trackable-tasks-views"
```

Usage
-----

[](#usage)

```
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use ViicSlen\TrackableTasks\Concerns\TrackAutomatically;

class TestJobWithTracking implements ShouldQueue
{
    use InteractsWithQueue;
    use Queueable;
    use Dispatchable;
    use TrackAutomatically;

    public function handle(): void {
        $this->taskSetProgressMax(200);

        $this->taskIncrementProgress();

        sleep(1);
        $this->taskIncrementProgress(10);

        sleep(1);
        $this->taskIncrementProgress(20);

        sleep(1);
        $this->taskIncrementProgress(30);

        sleep(1);
        $this->taskFinishProgress();
    }
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Victor Rivero](https://github.com/viicslen)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance46

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 87.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~117 days

Total

40

Last Release

412d ago

Major Versions

v0.5.0 → v1.0.02023-07-31

v1.1.0 → v10.0.02023-12-08

v10.1.1 → v11.0.02025-02-20

PHP version history (5 changes)v0.0.1PHP ^8.0

v0.1.1PHP ^8.1

v1.0.0PHP ^8.1|^8.2

v11.0.0PHP ^8.2

v11.0.1PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/27de0582c129852d42556267cc9f259138ec3ebfa675f59cda3d5d9009ed2d9d?d=identicon)[viicslen](/maintainers/viicslen)

---

Top Contributors

[![viicslen](https://avatars.githubusercontent.com/u/39545521?v=4)](https://github.com/viicslen "viicslen (122 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")[![alonzd1](https://avatars.githubusercontent.com/u/48774368?v=4)](https://github.com/alonzd1 "alonzd1 (1 commits)")

---

Tags

laravelviicslenlaravel-trackable-tasks

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/viicslen-laravel-trackable-tasks/health.svg)

```
[![Health](https://phpackages.com/badges/viicslen-laravel-trackable-tasks/health.svg)](https://phpackages.com/packages/viicslen-laravel-trackable-tasks)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
