yuk1 / job
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
pkg:composer/yuk1/job
Requires
- php: >=7.0.0
- symfony/symfony: ^4.2
- tightenco/collect: ^5.8
Requires (Dev)
- phpunit/phpunit: >=8.0
This package is auto-updated.
Last update: 2025-10-05 21:51:49 UTC
README
Description
Task management tool for tracking the progress of multiple tasks on the command line.
Usage
require_once('vendor/autoload.php'); use YuK1\{Job, Task}; $job = new Job(); $task1 = new Task(function() { echo 'Task 1'; }, 3, 'Task 1 runnning.'); $task2 = new Task(function() { echo 'Task 2'; }, 2, 'Task 2 runnning.'); $task3 = new Task(function() { echo 'Task 3'; }, 1, 'Task 3 runnning.'); $job->add($task1, $task2, $task3); $job->run();
Install
composer require yuk1/job
Test
composer test tests