PHPackages                             kalakotra/silverstripe-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. [Admin Panels](/categories/admin)
4. /
5. kalakotra/silverstripe-dashboard

ActiveSilverstripe-vendormodule[Admin Panels](/categories/admin)

kalakotra/silverstripe-dashboard
================================

Reusable, extensible Dashboard module for SilverStripe 6 CMS

1.0.1(1mo ago)11↓100%MITPHP

Since Mar 17Pushed 1mo agoCompare

[ Source](https://github.com/kalakotra/silverstripe-dashboard)[ Packagist](https://packagist.org/packages/kalakotra/silverstripe-dashboard)[ RSS](/packages/kalakotra-silverstripe-dashboard/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

SilverStripe 6 Dashboard Module
===============================

[](#silverstripe-6-dashboard-module)

Reusable, extensible CMS Dashboard for SilverStripe 6.
Widgets are defined in code, registered via YAML config, and rendered inside a responsive CSS Grid layout.

---

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

[](#requirements)

DependencyVersionPHP^8.2silverstripe/framework^6.0silverstripe/admin^3.0---

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

[](#installation)

```
composer require kalakotra/silverstripe-dashboard
vendor/bin/sake dev/build flush=1
```

---

Module Structure
----------------

[](#module-structure)

```
silverstripe-dashboard/
├── _config/
│   ├── dashboard.yml          # Widget registration & CMS routing
│   ├── dashboard-examples.yml # Example widget registrations
│   └── cache.yml              # PSR-16 cache binding
│
├── client/
│   ├── css/dashboard.css      # CSS Grid layout + all widget styles
│   └── js/dashboard.js        # AJAX refresh, animations, keyboard a11y
│
└── src/
    ├── Controllers/
    │   └── DashboardController.php   # LeftAndMain CMS section
    │
    ├── Registry/
    │   └── DashboardRegistry.php     # Widget loader, sorter, filter
    │
    ├── Services/
    │   └── DashboardCacheService.php # PSR-16 cache wrapper
    │
    ├── Widgets/
    │   ├── DashboardWidget.php       # Abstract base class
    │   ├── WidgetWidth.php           # Width enum (Full/Half/Third/Quarter/Fifth)
    │   ├── TextWidget.php
    │   ├── StatsWidget.php
    │   ├── TableWidget.php
    │   ├── ListWidget.php
    │   ├── ChartWidget.php           # Chart.js integration
    │   ├── ActionWidget.php
    │   ├── NotificationWidget.php
    │   └── ProgressWidget.php
    │
    ├── Examples/
    │   ├── SiteStatsWidget.php
    │   ├── RecentMembersWidget.php
    │   ├── MemberGrowthChartWidget.php
    │   ├── AdminQuickActionsWidget.php
    │   ├── SystemHealthWidget.php
    │   └── ServerLogStatsWidget.php
    │
    └── Tests/
        └── DashboardRegistryTest.php

templates/
├── Dashboard.ss                      # Main grid layout
└── Widgets/
    ├── TextWidget.ss
    ├── StatsWidget.ss
    ├── TableWidget.ss
    ├── ListWidget.ss
    ├── ChartWidget.ss
    ├── ActionWidget.ss
    ├── NotificationWidget.ss
    └── ProgressWidget.ss

```

---

Creating a Custom Widget
------------------------

[](#creating-a-custom-widget)

### 1 — Extend a base widget class

[](#1--extend-a-base-widget-class)

```
