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

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

asyncphp/process
================

Simple abstraction for starting and stopping processes

1.0.0(9y ago)9412MITPHPPHP ^5.4|^7.0CI failing

Since Jan 8Pushed 5y agoCompare

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

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

Process
=======

[](#process)

[![Build Status](https://camo.githubusercontent.com/7cea06ebea2d9c8246365a26a74b2944576aa33a5cf136e85a68115dd99b4ec4/68747470733a2f2f7472617669732d63692e6f72672f6173796e637068702f70726f636573732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/asyncphp/process)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f1c0eee8f7abbfabc1bdb1b2440a829bbcd4a393d0374ded3cfdca53b0b6514e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6173796e637068702f70726f636573732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/asyncphp/process/?branch=master)

Simple abstraction for starting and stopping processes.

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

[](#installation)

```
composer require asyncphp/process

```

Usage
-----

[](#usage)

```
use AsyncPHP\Process\PosixHandler;

$loop->start($id = "server", $command = "start-server.sh", $background = true);
sleep(60);
$loop->stop($id);
```

Compatibility
-------------

[](#compatibility)

This library uses `exec` and `ps` to start and find processes. It will not work on systems where `exec` has been disabled, or where `ps -e/E` does not return the environment variables of a process. I've tested on macOS Sierra and Ubuntu Trusty `14.04`.

Versioning
----------

[](#versioning)

This library follows [Semver](http://semver.org). According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.

All methods, with `public` visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep `protected` methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3413d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00089084814b5b79cd35b9f501bcc48d74c5afb2cb4703562a82e081f31c843c?d=identicon)[assertchris](/maintainers/assertchris)

---

Top Contributors

[![assertchris](https://avatars.githubusercontent.com/u/200609?v=4)](https://github.com/assertchris "assertchris (7 commits)")

---

Tags

asyncparallelprocess

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[daftspunk/laravel-config-writer

Laravel provider to be able to rewrite configuration

17548.8k1](/packages/daftspunk-laravel-config-writer)

PHPackages © 2026

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