Download the PHP package kalakotra/silverstripe-dashboard without Composer

On this page you can find all versions of the php package kalakotra/silverstripe-dashboard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package silverstripe-dashboard

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

Dependency Version
PHP ^8.2
silverstripe/framework ^6.0
silverstripe/admin ^3.0

Installation


Module Structure


Creating a Custom Widget

1 — Extend a base widget class

2 — Register via YAML

3 — Run dev/build


Widget Width Reference

Constant CSS Class Grid Span Use Case
WidgetWidth::Full dashboard-widget--full 5 / 5 Stats rows, charts
WidgetWidth::Half dashboard-widget--half 3 / 5 Tables, charts
WidgetWidth::Third dashboard-widget--third 2 / 5 Lists, notifications
WidgetWidth::Quarter dashboard-widget--quarter 2 / 5 Progress, compact data
WidgetWidth::Fifth dashboard-widget--fifth 1 / 5 Quick actions

Widget Types

StatsWidget

KPI tiles with value, label, trend indicator and accent colour.
Override getStats(): array.

TableWidget

Paginated data table with configurable columns and optional CMS deep-links.
Override getColumns(): array and getRows(): SS_List|array.

ListWidget

Scrollable item list with icons, subtitles and badges.
Override getItems(): SS_List|array.

ChartWidget

Chart.js 4 chart (bar, line, pie, doughnut, radar).
Override getChartData(): array and optionally getChartOptions(): array.

ActionWidget

Quick-action buttons/links in list or grid layout.
Override getActions(): array.

NotificationWidget

Timestamped notification feed with unread count badge.
Override getNotifications(): array. Supports AJAX refresh.

ProgressWidget

Labelled progress bars with semantic colour states.
Override getBars(): array.

ServerLogStatsWidget (example)

Reads server access logs and shows requests, unique IPs, top URL, and error totals.

Config options:

TextWidget

Static HTML/text block.
Override getContent(): string or set $content property.


Permissions


Caching


AJAX Refresh

Widgets opt-in to AJAX refresh by returning true from supportsRefresh():

The frontend automatically adds a refresh button to the widget header.
The endpoint is: GET /admin/dashboard/widgetRefresh/{Identifier}

You can also trigger programmatic refresh from JavaScript:


Running Tests


License

MIT


All versions of silverstripe-dashboard with dependencies

PHP Build Version
Package Version
Requires silverstripe/framework Version ^6.0
silverstripe/admin Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kalakotra/silverstripe-dashboard contains the following files

Loading the files please wait ...