PHPackages                             stylers/laravel-task-manager - 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. stylers/laravel-task-manager

ActiveLibrary

stylers/laravel-task-manager
============================

This package is a workaround for run tasks without artisan because proc\_open &amp; proc\_close PHP modules disabled some server such as shared hosts.

6.0.0(2y ago)0356—0%MITPHPPHP &gt;=8.1

Since Feb 5Pushed 2y ago3 watchersCompare

[ Source](https://github.com/stylers-llc/laravel-task-manager)[ Packagist](https://packagist.org/packages/stylers/laravel-task-manager)[ Docs](https://github.com/stylers-llc/laravel-task-manager)[ RSS](/packages/stylers-laravel-task-manager/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (5)Versions (11)Used By (0)

Laravel Task Manager
====================

[](#laravel-task-manager)

[![Latest Stable Version](https://camo.githubusercontent.com/9077e764a36ddbe53049c41ea8067e1b1b839ce854415d4cd0a6c13f6710f95a/68747470733a2f2f706f7365722e707567782e6f72672f7374796c6572732f6c61726176656c2d7461736b2d6d616e616765722f76657273696f6e)](https://packagist.org/packages/stylers/laravel-task-manager)[![Total Downloads](https://camo.githubusercontent.com/bb46de580fc3b0d1dc252d4d8fb21e61dfe8c5d071ca0afda0869edb686654dd/68747470733a2f2f706f7365722e707567782e6f72672f7374796c6572732f6c61726176656c2d7461736b2d6d616e616765722f646f776e6c6f616473)](https://packagist.org/packages/stylers/laravel-task-manager)[![License](https://camo.githubusercontent.com/9e521e568961cc84ee3b29fec163009d73a683fc5e0d2b0d818bebf3e9246b62/68747470733a2f2f706f7365722e707567782e6f72672f7374796c6572732f6c61726176656c2d616464726573732f6c6963656e7365)](https://packagist.org/packages/stylers/laravel-address)[![Tests](https://github.com/stylers-llc/laravel-task-manager/workflows/Tests/badge.svg)](https://github.com/stylers-llc/laravel-task-manager/actions)[![codecov](https://camo.githubusercontent.com/6548bf076381cbf50c586311c0f7cd5baaddf0353f3a0d3b798fd864176fc0b1/68747470733a2f2f636f6465636f762e696f2f67682f7374796c6572732d6c6c632f6c61726176656c2d7461736b2d6d616e616765722f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d51595956343453554f58)](https://codecov.io/gh/stylers-llc/laravel-task-manager)[![Maintainability](https://camo.githubusercontent.com/fa032ff40d644eaffc16b4a839e39a94fe5c291479f6cf08ffc89a162bfa5d7d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f64353534346661313531326161373237643235312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/stylers-llc/laravel-task-manager/maintainability)

Laravel version compatibility
-----------------------------

[](#laravel-version-compatibility)

Laravel versionPackage version5.71.06.02.07.03.08.04.09.05.010.06.0Requirements
------------

[](#requirements)

- PHP &gt;= 8.0
- Laravel &gt;= 9.x

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

[](#installation)

```
composer require stylers/laravel-task-manager
```

How to Test
-----------

[](#how-to-test)

```
docker run -it --rm -v $PWD:/app -w /app composer sh
composer install
./vendor/bin/phpunit
```

Usage
-----

[](#usage)

TaskTimer trait is using [Laravel's Schedule Frequency Options](https://laravel.com/docs/5.7/scheduling#schedule-frequency-options)

1. Add Interface and Trait to class implementation and add handle method for a command entrypoint

```
use Illuminate\Console\Command;
use Stylers\TaskManager\Contracts\TaskTimerInterface;
use Stylers\TaskManager\Traits\TaskTimer;

class CommandTask extends Command implements TaskTimerInterface
{
    use TaskTimer;

    public function handle()
    {
        //
    }
}
```

2. Add CommandTask to TaskManager

```
use Illuminate\Support\ServiceProvider;
use Stylers\TaskManager\Console\TaskManager;
use Stylers\TaskManager\Tests\Fixtures\CommandTask;

class ScheduleServiceProvider extends ServiceProvider
{
    public function boot()
    {
        parent::boot();

        $this->app->booted(function () {
            $scheduler = app(TaskManager::class);

            // Single task adding
            $scheduler->addTasks(
                (new CommandTask())->dailyAt('6:00')
            );

            // ---- OR ----

            // Multiple task adding in same time
            $scheduler->bulkAddTasks([
                (new CommandTask())->dailyAt('6:00'),
                (new CommandTask())->weekly(),
            ]);
        });
    }
}
```

3. In example called in web.php
    (please feel free to add security checks for endpoint)

```
use Stylers\TaskManager\Console\TaskManager;
use Illuminate\Support\Facades\Route;

Route::get('/cron', static function () {
    TaskManager::run();
});
```

4. Set cron to call this endpoint

```
* * * * * curl -s -X GET -L domain/cron >>/var/log/cron.log 2>&1
```

Special thanks to:
------------------

[](#special-thanks-to)

- [WebInvention](https://web-invention.com/blog/post/6/alternative-task-scheduling-laravel-proc-open-disabled) (for this blog post)

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~151 days

Recently: every ~251 days

Total

8

Last Release

808d ago

Major Versions

1.0.2 → 2.0.x-dev2021-04-01

2.0.x-dev → 3.0.x-dev2021-04-07

3.0.x-dev → 4.0.x-dev2021-04-08

4.0.x-dev → 5.0.02024-01-03

5.0.0 → 6.0.02024-01-03

PHP version history (4 changes)1.0PHP &gt;=7.2

2.0.x-devPHP &gt;=7.3

5.0.0PHP &gt;=8.0

6.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/422c56648fe93491b495251f97a0825657459d44fb86b2d2e9a5183d5b0eefe5?d=identicon)[stylers](/maintainers/stylers)

---

Top Contributors

[![Moondas](https://avatars.githubusercontent.com/u/3878620?v=4)](https://github.com/Moondas "Moondas (36 commits)")[![t1k3](https://avatars.githubusercontent.com/u/8018130?v=4)](https://github.com/t1k3 "t1k3 (9 commits)")[![balazsbencs](https://avatars.githubusercontent.com/u/69797681?v=4)](https://github.com/balazsbencs "balazsbencs (3 commits)")

---

Tags

laravelmanagertaskstylers

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/stylers-laravel-task-manager/health.svg)

```
[![Health](https://phpackages.com/badges/stylers-laravel-task-manager/health.svg)](https://phpackages.com/packages/stylers-laravel-task-manager)
```

###  Alternatives

[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42440.2M501](/packages/socialiteproviders-manager)[encore/redis-manager

Redis manager for laravel

25243.1k](/packages/encore-redis-manager)

PHPackages © 2026

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