PHPackages                             async-bot/github-status-plugin - 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. async-bot/github-status-plugin

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

async-bot/github-status-plugin
==============================

GitHub status plugin

015[1 issues](https://github.com/async-bot/github-status-plugin/issues)HTMLCI failing

Since Nov 29Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

GitHub Status
=============

[](#github-status)

[![Latest Stable Version](https://camo.githubusercontent.com/42203b044a53ee987287884247021d418ae905530a46b96d9f368b619a8f797e/68747470733a2f2f706f7365722e707567782e6f72672f6173796e632d626f742f6769746875622d7374617475732d706c7567696e2f762f737461626c65)](https://packagist.org/packages/async-bot/github-status-plugin)[![Build Status](https://camo.githubusercontent.com/a9f2dc360f52a900c844800142d2acb816128c35ea21465620ecac9fe828fc23/68747470733a2f2f7472617669732d63692e6f72672f6173796e632d626f742f6769746875622d7374617475732d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/async-bot/github-status-plugin)[![Coverage Status](https://camo.githubusercontent.com/d5b3e3c2c2a9b24a954ea29db184a6585d2a279fb12e37c64a0fa1166527310a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6173796e632d626f742f6769746875622d7374617475732d706c7567696e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/async-bot/github-status-plugin?branch=master)[![License](https://camo.githubusercontent.com/c23eee0047e17d659c99f335d677a4879ef506b66d9487ed9d1b29d38fd984e8/68747470733a2f2f706f7365722e707567782e6f72672f6173796e632d626f742f6769746875622d7374617475732d706c7567696e2f6c6963656e7365)](https://packagist.org/packages/async-bot/github-status-plugin)

This plugin emit an event when the [uptime status of GitHub services](https://www.githubstatus.com) change.

Requirements
------------

[](#requirements)

- PHP 7.4

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

[](#installation)

```
composer require async-bot/github-status-plugin
```

Usage
-----

[](#usage)

### Initialization

[](#initialization)

```
$plugin = new Plugin(
    \AsyncBot\Logger\Factory::buildConsoleLogger(),
    new \AsyncBot\Plugin\Retreiever\Http(new \Amp\Http\Client\Client(), new \AsyncBot\Plugin\GitHubStatus\Parser\Html()),
    new \AsyncBot\Plugin\GitHubStatus\Storage\InMemoryStorage(),
);
```

### Attaching an event listener

[](#attaching-an-event-listener)

If the GitHub status changes an event will be emitted which can be subscribed to. The registered event listener will get an `\AsyncBot\Plugin\GitHubStatus\Event\Data\Status` object passed which contains information about the status change.

```
$plugin->onStatusChange(new class implement \AsyncBot\Plugin\GitHubStatus\Event\Listener\StatusChange {
    /**
     * @return Promise
     */
    public function __invoke(Status $status): Promise
    {
        var_dump($status);

        return new Success();
    }
});
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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://www.gravatar.com/avatar/ce6ea4ee501375bd1be563f6deed94e889d57d6134e98486208e5bcd14026ec2?d=identicon)[PeeHaa](/maintainers/PeeHaa)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/async-bot-github-status-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/async-bot-github-status-plugin/health.svg)](https://phpackages.com/packages/async-bot-github-status-plugin)
```

PHPackages © 2026

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