PHPackages                             strukt/tasker - 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. strukt/tasker

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

strukt/tasker
=============

Simple php task manager

v1.0.1-alpha(3y ago)02MITPHP

Since Dec 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/struktapp/strukt-tasker)[ Packagist](https://packagist.org/packages/strukt/tasker)[ RSS](/packages/strukt-tasker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Tasker
======

[](#tasker)

A simple task manager for php.

Getting started
---------------

[](#getting-started)

```
wget https://github.com/samweru/strukt-tasker/releases/download/v1.0.1-alpha/tasker.phar #download
chmod a+x tasker.phar #make executable
mv tasker.phar tasker #rename
```

Usage
-----

[](#usage)

By default, task manager will create `tasker.php` file if one isn't found when you execute the tasker command.

The intial `tasker.php` file contains a single command `test`.

How to list commands:

```
$ tasker list

 version         Tasker version
 list            List commands
 test            Sample task
```

Below is sample `tasker.php`

```
/**
 * Show today's date
 */
task('date', function(){

	$date = new \DateTime();

	echo(sprintf("Now: %s\n", $date->format("Y-m-d H:i:s")));
});

/**
 * Say hello to someone
 */
task("hello", function(string $name){

    writeln(sprintf("Hello %s!", $name));
});

/**
 * Say hello to the world
 */
task('test', function(){

    go("hello", " World!");
});

/**
 * Watch changes in javascript files
 */
task("watch:js", function(){

	watch("app/js", function($files){

		$changes = [];
		foreach($files as $file)
			$changes[] = sprintf("%s\n", $file);

		print_r(implode("\n", $changes));
	});
});

/**
 * List directories
 */
task("lsdir", function(){

	list($output, $error) = run("ls -al", function($output){

		echo $output;
	});
});
```

Boxing
------

[](#boxing)

First you'll need to install [phive](https://github.com/phar-io/phive)

```
wget -O phive.phar https://phar.io/releases/phive.phar
wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x9D8A98B29B2D5D79
gpg --verify phive.phar.asc phive.phar
chmod +x phive.phar
sudo mv phive.phar /usr/local/bin/phive
```

Then, install [Box](https://github.com/box-project/box) globally.

```
phive install humbug/box --force-accept-unsigned
```

..and update.

```
phive update humbug/box --force-accept-unsigned
```

..or install `Box` locally.

```
composer require --dev bamarni/composer-bin-plugin
composer bin box require --dev humbug/box

vendor/bin/box
```

..or

```
$ curl -LSs https://box-project.github.io/box2/installer.php | php
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~143 days

Total

2

Last Release

1455d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f77a56030c77ce25f7fcf6db800e45bb6a31bf3c07740b43aeabcdf5e9edec2?d=identicon)[pitsolu](/maintainers/pitsolu)

---

Top Contributors

[![pitsolu](https://avatars.githubusercontent.com/u/16669704?v=4)](https://github.com/pitsolu "pitsolu (18 commits)")

---

Tags

tasktask-managertask-runner

### Embed Badge

![Health badge](/badges/strukt-tasker/health.svg)

```
[![Health](https://phpackages.com/badges/strukt-tasker/health.svg)](https://phpackages.com/packages/strukt-tasker)
```

###  Alternatives

[cedaro/wp-plugin

A base WordPress plugin library.

4147.6k4](/packages/cedaro-wp-plugin)[mostafaznv/php-x-sendfile

Serve large files using web server with support for laravel

5311.3k](/packages/mostafaznv-php-x-sendfile)[haringsrob/icecat

Icecat data fetching class

1746.0k](/packages/haringsrob-icecat)[blacksmoke26/yii2cdn

A Yii Framework 2 component for using assets in different environments (Local/CDNs)

1412.0k](/packages/blacksmoke26-yii2cdn)[spatie/laravel-mailcoach-monaco

A Monaco editor package for Mailcoach

1015.2k1](/packages/spatie-laravel-mailcoach-monaco)

PHPackages © 2026

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