PHPackages                             j1b1x/asyncmedoo - 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. [Database &amp; ORM](/categories/database)
4. /
5. j1b1x/asyncmedoo

ActiveLibrary[Database &amp; ORM](/categories/database)

j1b1x/asyncmedoo
================

5394PHP

Since Apr 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/J1b1x/AsyncMedoo)[ Packagist](https://packagist.org/packages/j1b1x/asyncmedoo)[ RSS](/packages/j1b1x-asyncmedoo/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

AsyncMedoo
==========

[](#asyncmedoo)

[![php](https://camo.githubusercontent.com/74f7f565e570e394cb9358c41b8d3f1728a9d41a0e7dc10627bbcb45819fd38a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e302d696e666f726d6174696f6e616c)](https://camo.githubusercontent.com/74f7f565e570e394cb9358c41b8d3f1728a9d41a0e7dc10627bbcb45819fd38a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e302d696e666f726d6174696f6e616c)[![api](https://camo.githubusercontent.com/09f5789e63311cafb26c8af7e2f3f9f5fd29d49b678e18edad26402ee7abb73c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706f636b65746d696e652d352e302d696e666f726d6174696f6e616c)](https://camo.githubusercontent.com/09f5789e63311cafb26c8af7e2f3f9f5fd29d49b678e18edad26402ee7abb73c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706f636b65746d696e652d352e302d696e666f726d6174696f6e616c)

A PocketMine-MP virion to execute PDO statements async using [Medoo](https://github.com/catfan/Medoo/)

### Initialization

[](#initialization)

First you need to initialize the MySQL credentials, so just do:

```
\Jibix\AsyncMedoo\AsyncMedoo::initialize(new \Jibix\AsyncMedoo\MySQLCredentials(
    "database",
    "password",
    "user",
    "address",
    3306 //port
));
```

### Using the [AsyncExecutor](https://github.com/J1b1x/AsyncMedoo/blob/master/src/Jibix/AsyncMedoo/AsyncExecutor.php)

[](#using-the-asyncexecutor)

Instead of manually starting an async task, you can simply use the [async](https://github.com/J1b1x/AsyncMedoo/blob/ec3e541b9c6c55ef343d1f417bf0c1f62d2500bc/src/Jibix/AsyncMedoo/util/Functions.php#L10) function, which automatically executes the provided task in the [AsyncExecutor](https://github.com/J1b1x/AsyncMedoo/blob/master/src/Jibix/AsyncMedoo/AsyncExecutor.php)

```
private function dumpCoins(string $playerName): void{
    \Jibix\AsyncMedoo\util\async(
        fn (\Medoo\Medoo $medoo): int => $medoo->get("users", ["coins"], ["name" => $playerName]),
        function (int $coins) use ($playerName): void{
            var_dump("$playerName has $coins coins!");
        }
    );
}

$this->dumpCoins("Jibix YT"); //Output: "Jibix YT has 100 coins!"
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87% 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://avatars.githubusercontent.com/u/64813399?v=4)[Jibix](/maintainers/J1b1x)[@J1b1x](https://github.com/J1b1x)

![](https://www.gravatar.com/avatar/c1073badf7242d47c040f90cdd3577a6ae9ddb657ebb5675571793ef5df998ff?d=identicon)[xxAROX](/maintainers/xxAROX)

---

Top Contributors

[![J1b1x](https://avatars.githubusercontent.com/u/64813399?v=4)](https://github.com/J1b1x "J1b1x (20 commits)")[![NeturCrafter](https://avatars.githubusercontent.com/u/96377600?v=4)](https://github.com/NeturCrafter "NeturCrafter (1 commits)")[![poggit-bot](https://avatars.githubusercontent.com/u/22427965?v=4)](https://github.com/poggit-bot "poggit-bot (1 commits)")[![xxAROX](https://avatars.githubusercontent.com/u/57589973?v=4)](https://github.com/xxAROX "xxAROX (1 commits)")

### Embed Badge

![Health badge](/badges/j1b1x-asyncmedoo/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[yemenopensource/filament-excel

This package useful for importing excel files into models.

194.2k](/packages/yemenopensource-filament-excel)

PHPackages © 2026

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