PHPackages                             hopkins/panic - 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. hopkins/panic

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

hopkins/panic
=============

A package to format data for charts in Panic's Statusboard application

144PHP

Since Dec 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/michaeljhopkins/PanicStatusboardDataFormatter)[ Packagist](https://packagist.org/packages/hopkins/panic)[ RSS](/packages/hopkins-panic/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Panic Statusboard Data Formatter
--------------------------------

[](#panic-statusboard-data-formatter)

This package helps return custom data to be used in the charts for Panic's [StatusBoard](https://panic.com/statusboard/) iOS application. By providing getters and setters for the various fields it aims to make it more clear to new developers what data is required and how it should be formatted. Panic provides [this](http://library.panic.com/status-board/graph_tutorial/) documentation in regards to making custom charts.

---

\#Installation

Require this package in your `composer.json` and update composer.

```
"hopkins/panic": "dev-master"
```

or

```
composer require hopkins/panic
```

After updating composer, you're all set to start using the Class. You can either new up the class with parameters, or set them as you go.

New with parameters

```
$data = [
    [
        "title" => "location1",
        "color" => "blue",
        "datapoints" => [
            "title" => '24 Forcast',
            "value" => "70"
        ]
    ],[
        "title" => "location2",
        "color" => "green",
        "datapoints" => [
            "title" => '24 Forcast',
            "value" => "75"
        ]
    ]
];

$panic = new \Hopkins\Panic\CustomChart("Chart title","type","xAxisModifications","yAxisModifications","refreshEveryNSeconds");

$panic->setDataSequences($data);
return $panic->render();
```

New with setters (same dataset)

```
$panic = new CustomChart();
$panic->setChartTitle("24 Forcast");
$panic->setType("bar");
$panic->setXAxis(["showEveryLabel" => true]);
$panic->setRefreshEveryNSeconds(900);
$panic->setDataSequences($result);
$panic->setDataSequences($data);
return $panic->render();
```

License
=======

[](#license)

This project is licensed using [DBAD](http://www.dbad-license.org/). Go have a blast.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hopkins-panic/health.svg)

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

###  Alternatives

[botman/driver-amazon-alexa

Amazon Alexa driver for BotMan

156.9k2](/packages/botman-driver-amazon-alexa)

PHPackages © 2026

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