PHPackages                             mcbeany/libasync - 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. mcbeany/libasync

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

mcbeany/libasync
================

Stupid async implementation using await-generator

0.0.1(3y ago)6331GPL-3.0-onlyPHP

Since Jun 25Pushed 3y ago2 watchersCompare

[ Source](https://github.com/mcbeany-pm-pl/libAsync)[ Packagist](https://packagist.org/packages/mcbeany/libasync)[ RSS](/packages/mcbeany-libasync/feed)WikiDiscussions master Synced 1mo ago

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

libAsync
========

[](#libasync)

Stupid async implementation using await-generator

Usage
-----

[](#usage)

```
libAsync::doAsync(Closure $executor); //  Internet::getUrl("example.com"));
    var_dump($response);
});
```

- Save file asynchronously

```
Await::g2c(
    libAsync::doAsync(fn() => file_put_contents('file.txt', 'Hello World!')),
    fn() => $this->getLogger()->info("Saved file successfully!")
);
```

Note
----

[](#note)

> Do not pass any variables that cannot be serialized to AsyncTask

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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

1422d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/69a144e0dfb0d7b1cd2f6867acc9c337e92d408a7949081aabf7869ab8309952?d=identicon)[Mcbeany](/maintainers/Mcbeany)

---

Top Contributors

[![Mcbeany](https://avatars.githubusercontent.com/u/77101686?v=4)](https://github.com/Mcbeany "Mcbeany (2 commits)")[![poggit-bot](https://avatars.githubusercontent.com/u/22427965?v=4)](https://github.com/poggit-bot "poggit-bot (1 commits)")

### Embed Badge

![Health badge](/badges/mcbeany-libasync/health.svg)

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

PHPackages © 2026

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