Skip to content

Diagnostics

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/diagnostics
Package slugdiagnostics
Product groupCapell Operations
Tierpaid
Bundleoperations
Runtime contextsadmin, console
Capell version^1.0
Catalogue roleextension
Release channelBeta
Docs sourcepackages/diagnostics/docs
Manifestcapell.json

Whoever looks after your site gets a few admin pages for checking on its health. A System Health dashboard shows cards for setup and migrations, and for the cache and for settings files that have drifted from Capell’s defaults.

The queue page lists failed background jobs, which are tasks that run behind the scenes, with the first line of each error. People with the right permission can retry them, though a retry only hands the job back and does not show the fault has gone. When jobs wait in the database, people with the remove permission can take one out of the queue. The Command Palette page runs four maintenance commands from the admin. One is a health check and three are for HTML Cache. Clearing the cache or processing stale pages asks for a confirmation tick first.

Diagnostics reports what is wrong when someone opens it. It sends no alerts and does not watch the site from outside. Commands that run in the background need the process that runs your jobs to be up.

Every command run from the palette is logged for 30 days, with who ran it and what it printed, and common secrets are hidden.

  • Price and availability: Check current availability and price on the Capell Marketplace listing.
  • Licence: Check the licence terms on the Capell Marketplace listing.
  • Requires: PHP ^8.4, capell-app/admin ^1.0.78, capell-app/core ^1.0.75, capell-app/html-cache ^1.0, croustibat/filament-jobs-monitor ^4.4, lorisleiva/laravel-actions ^2.8, spatie/laravel-data ^4.5.
  • Install: composer require capell-app/diagnostics.
  1. Install the package: composer require capell-app/diagnostics.
  2. Open the package admin surface at /admin/diagnostics and confirm Diagnostics is available.

Each health signal and command operation is isolated in an Action or provider, including parameter validation and output redaction before a run is stored.

  • Configuration files: config/capell-diagnostics.php.
  • Commands: php artisan capell:diagnostics:health, php artisan capell:diagnostics:prune.
  • Install the required Capell packages at the versions in composer.json: capell-app/admin ^1.0.78, capell-app/core ^1.0.75, capell-app/html-cache ^1.0.
  • Run migrations before opening package resources or public routes.
  • Keep the host Laravel scheduler running so package-registered schedules can execute: capell:diagnostics:prune (daily; manifest declared).
  • Custom write integrations must preserve invalidation for diagnostics cache tags.

Developer tools dashboardDeveloper tools dashboard

Site health widget on Dashboard toolsSite health widget on Dashboard tools

  • Developer tools dashboard (admin).
  • Site health widget on Dashboard tools (admin).
  • Command palette page (admin).
  • System health page (admin).
  • Permission audit page (admin).
  • Queue Operations page (admin).
  • Command palette page with admin sidebar menu open (admin).
  • Required packages: capell-app/admin, capell-app/core, capell-app/html-cache.
  • Admin navigation: declares admin-page: CommandPalettePageContribution, admin-page: DiagnosticsPageContribution, admin-page: PermissionAuditPageContribution, admin-page: QueueHealthPageContribution, admin-page: SystemHealthPageContribution; each Filament page or resource controls its own navigation visibility.
  • Admin/editor extensions: dashboard-widget: SiteHealthWidgetContribution, dashboard-widget: SystemHealthWidgetsContribution.
  • Permissions: View:DiagnosticsPage, Execute:DiagnosticsPage, View:PermissionAuditPage, View:CommandPalettePage, Execute:CommandPalettePage, View:SystemHealthPage, View:QueueHealthPage, Execute:QueueHealthPage, Delete:QueueHealthPage.
  • Public routes: none declared.
  • Database changes: package migrations are declared.
  • Config: config/capell-diagnostics.php.
  • Settings: no package settings declared.
  • Queues or schedules: scheduled commands capell:diagnostics:prune (daily; manifest declared); queue jobs RunCommandPaletteArtisanJob.
  • Cache tags: diagnostics.
  • Commands: capell:diagnostics:health, capell:diagnostics:prune.
SymptomLikely causeCheckFix
Package health check reports a problemPackage configuration or runtime dependencies are not readyRun php artisan capell:diagnostics:healthFollow the reported checks, then rerun the doctor command
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Admin screen or command fails on missing tablePackage migrations have not runCheck the tables listed in Data ModelRun host migrations and rerun the focused package test
Background work does not runQueue worker or declared schedule is not activeCheck the jobs and scheduled commands listed in Technical ShapeStart the queue worker or host scheduler, then run the focused command or package test

No manual steps between minor versions.

Read CHANGELOG.md before upgrading.