Diagnostics
Package docs status
Section titled “Package docs status”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.
| Field | Value |
|---|---|
| Composer package | capell-app/diagnostics |
| Package slug | diagnostics |
| Product group | Capell Operations |
| Tier | paid |
| Bundle | operations |
| Runtime contexts | admin, console |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Beta |
| Docs source | packages/diagnostics/docs |
| Manifest | capell.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.
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/diagnostics. - Open the package admin surface at
/admin/diagnosticsand confirm Diagnostics is available.
For Developers
Section titled “For Developers”Each health signal and command operation is isolated in an Action or provider, including parameter validation and output redaction before a run is stored.
Configure
Section titled “Configure”- Configuration files:
config/capell-diagnostics.php. - Commands:
php artisan capell:diagnostics:health,php artisan capell:diagnostics:prune.
Limits And Pitfalls
Section titled “Limits And Pitfalls”- 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
diagnosticscache tags.
Screens And Workflow
Section titled “Screens And Workflow”



- 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).
Install Impact
Section titled “Install Impact”- 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 jobsRunCommandPaletteArtisanJob. - Cache tags:
diagnostics. - Commands:
capell:diagnostics:health,capell:diagnostics:prune.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package health check reports a problem | Package configuration or runtime dependencies are not ready | Run php artisan capell:diagnostics:health | Follow the reported checks, then rerun the doctor command |
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration | Reinstall the package, refresh Composer autoload, and clear host caches |
| Admin screen or command fails on missing table | Package migrations have not run | Check the tables listed in Data Model | Run host migrations and rerun the focused package test |
| Background work does not run | Queue worker or declared schedule is not active | Check the jobs and scheduled commands listed in Technical Shape | Start the queue worker or host scheduler, then run the focused command or package test |
Upgrading
Section titled “Upgrading”No manual steps between minor versions.
Read CHANGELOG.md before upgrading.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Worked extension examples
- Admin guide
- Configuration files:
config/capell-diagnostics.php. - Troubleshooting
- Developer reference
- Marketplace assets
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: HTML Cache.