Skip to content

Dashboard Reports

This page is generated from public package documentation in capell-4/packages and the package manifest checked into the source repository.

FieldValue
Composer packagecapell-app/dashboard-reports
Package slugdashboard-reports
Product groupCapell Operations
Tierpremium
Bundleoperations
Runtime contextsadmin
Capell version^4.0
Source repositorycapell-app/packages
Source pathpackages/dashboard-reports
Docs sourcepackages/dashboard-reports/docs
Manifestcapell.json

Generic CMS reporting widgets for Capell dashboards.

  • Package: capell-app/dashboard-reports
  • Namespace: Capell\DashboardReports\
  • Surfaces: Filament admin
  • Service providers: packages/dashboard-reports/src/Providers/AdminServiceProvider.php, packages/dashboard-reports/src/Providers/DashboardReportsServiceProvider.php
  • Capell dependencies: capell-app/admin, capell-app/core
  • Third-party dependencies: lorisleiva/laravel-actions, spatie/laravel-data, spatie/laravel-package-tools
  • Turns common CMS health and content signals into dashboard widgets that operators can scan quickly.
  • Helps owners understand content health and publishing trends without opening several admin resources.
  • Gives developers small reporting Actions that can be tested independently from Filament widget rendering.

Generic CMS reporting widgets for Capell dashboards.

  • Shared dashboard reporting widgets for Capell admin screens.
  • Service providers for package and admin registration.
  • A reporting foundation that other operations packages can build on.

For developers: Keeps Dashboard Reports package responsibilities isolated behind providers, actions, data objects, and package-owned resources where the package needs them.

For teams: Makes the Capell Operations capability easier to explain, install, and verify during package selection.

This package makes its Composer dependencies visible because they are part of the value proposition, not just plumbing. When an upstream package has a public repository, its linked preview card points readers back to the maintainers so their work gets proper credit.

Capell packages used here

Open-source packages used here

  • Laravel Actions - single-purpose action classes that keep package workflows out of controllers and Filament resources.
  • Spatie Laravel Data - typed data objects for package boundaries, form state, settings, and structured results.
  • Spatie Laravel Package Tools - Laravel package bootstrapping for config, migrations, commands, translations, and service provider setup.

Linked package previews

Laravel Actions GitHub preview

Spatie Laravel Data GitHub preview

Spatie Laravel Package Tools GitHub preview

AreaPathPurpose
Actionspackages/dashboard-reports/src/ActionsDomain operations. Test these directly where possible.
Datapackages/dashboard-reports/src/DataStructured payloads, form state, view models, and integration data.
Filamentpackages/dashboard-reports/src/FilamentAdmin resources, pages, widgets, and settings UI.
Providerspackages/dashboard-reports/src/ProvidersRegistration, extension hooks, routes, migrations, and resources.
Resourcespackages/dashboard-reports/resourcesViews, translations, assets, and package resources.
Testspackages/dashboard-reports/testsPackage-level Pest coverage.
  • Widgets: ContentHealthWidget, PublishingTrendChartWidget.
  • Data objects live in src/Data/; use them for payloads, form state, and view models.
  • Register Capell extension points, routes, migrations, settings, render hooks, and resources from service providers.
  • Install with composer require capell-app/dashboard-reports in the host Capell application.
  • In this repository, verify package changes with vendor/bin/pest; do not use php artisan.

Run package tests from the repository root:

Terminal window
vendor/bin/pest packages/dashboard-reports/tests --configuration=phpunit.xml
  • Put behaviour changes in src/Actions/; UI classes, commands, and controllers should call actions instead of owning domain logic.
  • Use package Data classes at boundaries instead of passing anonymous arrays between layers.