PHPackages                             meatoff/upchain - 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. meatoff/upchain

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

meatoff/upchain
===============

06PHP

Since Jun 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/meatfay/upchain-php)[ Packagist](https://packagist.org/packages/meatoff/upchain)[ RSS](/packages/meatoff-upchain/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Upchain-php is modern protocol for communication with microservices through cluster.

Install
-------

[](#install)

```
$ composer require meatoff/upchain
```

Create Service
--------------

[](#create-service)

```
require_once '../vendor/autoload.php';

use meatoff\upchain\HttpAdapter;
use meatoff\upchain\Service;

$service = new Service(HttpAdapter::class);

$service->input("auth", function ($input, $payload) {
    if($input['email'] == 'email@email.com' && $input['password'] == 'password') {
        $payload['auth_token'] = bin2hex(random_bytes(16));
        $payload['user_id'] = 534;
    }
    return $payload;
});

$service->serve();
```

Create Cluster
--------------

[](#create-cluster)

For cluster creation you can use [upchain-js](https://github.com/matroskin13/upchain).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7238718?v=4)[Pavel Myasoedov](/maintainers/meatfay)[@meatfay](https://github.com/meatfay)

---

Top Contributors

[![meatfay](https://avatars.githubusercontent.com/u/7238718?v=4)](https://github.com/meatfay "meatfay (9 commits)")

### Embed Badge

![Health badge](/badges/meatoff-upchain/health.svg)

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

###  Alternatives

[sorich87/bootstrap-tour

Show people how to use your web site

4.4k301.4k](/packages/sorich87-bootstrap-tour)[digitallyhappy/assets

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 8+.

131.0M10](/packages/digitallyhappy-assets)

PHPackages © 2026

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