PHPackages                             reich/async - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. reich/async

ActiveLibrary[Queues &amp; Workers](/categories/queues)

reich/async
===========

Simple way to make async operations using PHP

v1.0(8y ago)010MITPHPPHP &gt;=5.6.0

Since Mar 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/edenreich/AsyncPHP)[ Packagist](https://packagist.org/packages/reich/async)[ RSS](/packages/reich-async/feed)WikiDiscussions master Synced 2mo ago

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

[![](https://camo.githubusercontent.com/aa2f722a6187cb4efa4c35e949aeeddd3f6c74c173969cb1d4fc8e292a490b34/68747470733a2f2f73372e706f7374696d672e63632f6471306f6478616d6a2f7068702e706e67)](https://camo.githubusercontent.com/aa2f722a6187cb4efa4c35e949aeeddd3f6c74c173969cb1d4fc8e292a490b34/68747470733a2f2f73372e706f7374696d672e63632f6471306f6478616d6a2f7068702e706e67)

AsyncPHP
========

[](#asyncphp)

A simple way to make async operations using PHP

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

[](#installation)

in the terminal:

```
composer require reich/async
```

Usage
=====

[](#usage)

To create a new thread:

```
$thread = new \AsyncPHP\Thread(function);
```

To join the thread to the main context:

```
$thread->join();
```

To get the currently running threads:

```
echo \AsyncPHP\Thread::$count
```

Note
====

[](#note)

This can only be used from the command line atm.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~0 days

Total

2

Last Release

2973d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/388842e0ff6cf34c4321689d6761546f1f65dbf9f7ef2d2cfc0aabdd3fc02cf0?d=identicon)[edenreich](/maintainers/edenreich)

---

Top Contributors

[![edenreich](https://avatars.githubusercontent.com/u/16985712?v=4)](https://github.com/edenreich "edenreich (14 commits)")

---

Tags

asyncthreadsThread

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/reich-async/health.svg)

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

###  Alternatives

[react/socket

Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP

1.3k116.9M402](/packages/react-socket)[revolt/event-loop

Rock-solid event loop for concurrent PHP applications.

91943.6M138](/packages/revolt-event-loop)[amphp/parallel

Parallel processing component for Amp.

84746.2M74](/packages/amphp-parallel)[react/dns

Async DNS resolver for ReactPHP

535114.1M100](/packages/react-dns)[hollodotme/fast-cgi-client

A PHP fast CGI client to send requests (a)synchronously to PHP-FPM.

56423.9M25](/packages/hollodotme-fast-cgi-client)[react/promise-timer

A trivial implementation of timeouts for Promises, built on top of ReactPHP.

34141.9M96](/packages/react-promise-timer)

PHPackages © 2026

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