PHPackages                             kapitchi/process - 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. kapitchi/process

ActiveLibrary

kapitchi/process
================

Long time execution script updates. Get stdout of long running script from another process!

31151[1 issues](https://github.com/kapitchi/KapitchiProcess/issues)PHP

Since Jul 7Pushed 12y ago1 watchersCompare

[ Source](https://github.com/kapitchi/KapitchiProcess)[ Packagist](https://packagist.org/packages/kapitchi/process)[ RSS](/packages/kapitchi-process/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Zend Framework 2 - Kapitchi Process module
==========================================

[](#zend-framework-2---kapitchi-process-module)

**Version:** 0.1-dev
**Author:** [Kapitchi Team](http://kapitchi.com/team)
**Website:**
**Demo:**

**README.md status:** INCOMPLETE

Licence
=======

[](#licence)

[![LGPLv3](https://camo.githubusercontent.com/5d748f418ddd55edbdb4d4ea7ec28b4dabb5332cb45818384de7bc5536408fa2/687474703a2f2f7777772e676e752e6f72672f67726170686963732f6c67706c76332d38387833312e706e67)](https://camo.githubusercontent.com/5d748f418ddd55edbdb4d4ea7ec28b4dabb5332cb45818384de7bc5536408fa2/687474703a2f2f7777772e676e752e6f72672f67726170686963732f6c67706c76332d38387833312e706e67)
[The GNU Lesser General Public License, version 3.0](LICENSE.txt)

Introduction
============

[](#introduction)

Primary usage of this module is running long time operations "in background" and being able to receive progress updates.

Installation
============

[](#installation)

TODO

Basic Usage
===========

[](#basic-usage)

1. Register a process/job you want to run - you get a process ID / pid.

```
$process = $processor->registerJob(new \KapitchiProcess\Job\ShellJob('ping -n 30 kapitchi.com'));
$pid = $process->getId();

```

2. Run a process using separate AJAX request as to get response will take as long as your process runs

```
$processor->run($pid);

```

3. Use /process/api/bus-reader/read-next/\[pid\] (AJAX every 1sec?) to request process updates in JSON format as an example below.

*stdoutDelta* contains data written by the process to "stdOut" after the last progress request only.

```
{
    processId: "895472f28183dc67d39d9680d93c8e9a",
    isFinished: false,
    isStarted: true,
    startedTime: 1366660603,
    runningTime: 24,
    registry: [ ],
    stdoutDelta: "Reply from 176.74.179.134: bytes=32 time=415ms TTL=38 Reply from 176.74.179.134: bytes=32 time=416ms TTL=38 Reply from 176.74.179.134: bytes=32 time=415ms TTL=38 Reply from 176.74.179.134: bytes=32 time=416ms TTL=38 "
}

```

TODO

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/400247f20bf85825992e22a411eb25be7c6fb2fdd66ef613b9d41abdfbb58c4d?d=identicon)[kapitchi](/maintainers/kapitchi)

![](https://avatars.githubusercontent.com/u/1564337?v=4)[Matus Zeman](/maintainers/matuszeman)[@matuszeman](https://github.com/matuszeman)

---

Top Contributors

[![matuszeman](https://avatars.githubusercontent.com/u/1564337?v=4)](https://github.com/matuszeman "matuszeman (8 commits)")[![andrejkukucka](https://avatars.githubusercontent.com/u/2411800?v=4)](https://github.com/andrejkukucka "andrejkukucka (6 commits)")

### Embed Badge

![Health badge](/badges/kapitchi-process/health.svg)

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

PHPackages © 2026

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