PHPackages                             casadatos/dashboard - 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. [CLI &amp; Console](/categories/cli)
4. /
5. casadatos/dashboard

ActiveLibrary[CLI &amp; Console](/categories/cli)

casadatos/dashboard
===================

v1.0.0(9y ago)110PHP

Since Mar 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/coff/dashboard)[ Packagist](https://packagist.org/packages/casadatos/dashboard)[ RSS](/packages/casadatos-dashboard/feed)WikiDiscussions master Synced 3d ago

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

Casadatos Dashboard Component
=============================

[](#casadatos-dashboard-component)

Component for creating dashboards of gauges that let you know if your code runs smoothly.

```
    /* Need it on dev only? No problem! */
    if ($isDev)
        $this->dashboard = new ConsoleDashboard();
    else
        $this->dashboard = new NullDashboard();

    /* adding gauges */
    $this->dashboard
        ->add('houses', new ValueGauge($length=6))
        ->add('progress', new ProgressBarGauge($maxHauses=18000, $length=30,null,0))
        ->add('json size', new ByteGauge($length=12))
        ->add('loop memory', new DeltaMemoryGauge())
        ->add('loop time', new TimeGauge());

    /* some gauges are fed automatically with data some not */

    $this->dashboard
        ->init(); // starts timers and zeroes stuff

    while ($working) {
        /* some loop in your code which you'd like to know how it performs
           its tasks */

        // ... some tasks here

        $this->dashboard
            ->update('progress', count($this->housesArr))
            ->update('houses', count($this->housesArr))
            ->update('json size', $size);

        $this->refresh();

        /* So far it refreshes on each loop iteration. Any idea how to control
           that? Let me know. Thought of making possible to be refreshed on
           some events and on specific time intervals like (X times per sec./
           minute or whatever).

           So far you can only do it manually in your code.
           */
    }

    /* ... and finally let's close */
    $this->dashboard->summarize();

```

Preceding code produces following dashboard in realtime (while working):

```

+------+------------------------------+------------+------------+------------+
|houses|           progress           | json size  |loop memory | loop time  |
+------+------------------------------+------------+------------+------------+
| 18489|######################### 100%|   5381.73KB|      7.29MB|  0h 00m 54s|
+------+------------------------------+------------+------------+------------+

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Every ~0 days

Total

3

Last Release

3351d ago

Major Versions

v0.0.2 → v1.0.02017-03-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b28b2b3ed2956f8e7e09346399a1da038e30d831ca3e5ecd308e888237b6aa9?d=identicon)[coff](/maintainers/coff)

---

Tags

cliphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/casadatos-dashboard/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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