PHPackages                             raffaelj/cockpit-dashboardgrid - 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. [Admin Panels](/categories/admin)
4. /
5. raffaelj/cockpit-dashboardgrid

ActiveCockpit-module[Admin Panels](/categories/admin)

raffaelj/cockpit-dashboardgrid
==============================

Custom dashboard grid for Cockpit CMS

0.1.1(5y ago)56MITHack

Since Aug 15Pushed 3y ago2 watchersCompare

[ Source](https://github.com/raffaelj/cockpit_DashboardGrid)[ Packagist](https://packagist.org/packages/raffaelj/cockpit-dashboardgrid)[ Docs](https://github.com/raffaelj/cockpit_DashboardGrid)[ RSS](/packages/raffaelj-cockpit-dashboardgrid/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

DashboardGrid
=============

[](#dashboardgrid)

**This addon is not compatible with Cockpit CMS v2.**

See also [Cockpit CMS v1 docs](https://v1.getcockpit.com/documentation), [Cockpit CMS v1 repo](https://github.com/agentejo/cockpit) and [Cockpit CMS v2 docs](https://getcockpit.com/documentation/), [Cockpit CMS v2 repo](https://github.com/Cockpit-HQ/Cockpit).

---

Custom dashboard with grid for [Cockpit CMS](https://github.com/agentejo/cockpit)

This addon adds a top and a bottom area around the core dashboard widget areas. The number of columns and rows can be adjusted via config file.

**Important:** If you don't want to use this addon anymore, you have to move all widgets to one of the core areas before you remove it (or you have to delete the options in the `cockpit/options` table manually). Otherwise Cockpit will throw a fatal error, because it tries to call a function on a non-existent object in the dashboard function.

**Tip:** Zoom out before rearranging widgets.

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

[](#installation)

Copy this repository into `/addons` and name it `DashboardGrid` or

```
cd path/to/cockpit
git clone https://github.com/raffaelj/cockpit_DashboardGrid.git addons/DashboardGrid
```

Configuration
-------------

[](#configuration)

Add these options to `cockpit/config/config.yaml`:

```
dashboardgrid:
    top:
        rows: 2         # default: 1
        columns: 4      # default: 2
    bottom:
        rows: 1         # default: 1
        columns: 4      # default: 6
    widgets:
        modules:        # number of columns for modules widget
            columns: 3  # default: 2
```

How to add custom areas
-----------------------

[](#how-to-add-custom-areas)

Besides changing the number of rows and columns, you can add your own areas. With the code below, an area with full width is added above the one, that was provided with this addon.

```
$app->on('admin.init', function() {

    if (isset($this['modules']['dashboardgrid'])) {

        $this->on('admin.dashboardgrid.widgets.top', function($areas) {
            $area = 'my-custom-area';
            $this->renderView('path/to/custom/dashboard_area.php', compact('areas', 'area'));
        }, 90); // priority < 100: above, > 100: below addon top area with prio 100

    }

});
```

Content of `path/to/custom/dashboard_area.php`:

```

      @if(isset($areas[$area]))
        @foreach($areas[$area] as $widget)

            {{ $widget['content'] }}

        @endforeach
      @endif

```

Screenshot
----------

[](#screenshot)

[![dashboard with a lot of widgets in a grid view](cockpit_dashboardgrid_screenshot.png)](cockpit_dashboardgrid_screenshot.png)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2148d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

cockpitdashboard

### Embed Badge

![Health badge](/badges/raffaelj-cockpit-dashboardgrid/health.svg)

```
[![Health](https://phpackages.com/badges/raffaelj-cockpit-dashboardgrid/health.svg)](https://phpackages.com/packages/raffaelj-cockpit-dashboardgrid)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[jubeki/nova-card-linkable

A Linkeable Card for the Laravel Nova Dashboard.

19277.1k](/packages/jubeki-nova-card-linkable)[asgardcms/dashboard-module

Dashboard module for AsgardCMS. Handles the display of the dashboard.

1236.6k2](/packages/asgardcms-dashboard-module)[pressbooks/pressbooks-book

This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.

216.7k](/packages/pressbooks-pressbooks-book)

PHPackages © 2026

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