Download the PHP package ziming/filament-oh-dear without Composer
On this page you can find all versions of the php package ziming/filament-oh-dear. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ziming/filament-oh-dear
More information about ziming/filament-oh-dear
Files in ziming/filament-oh-dear
Package filament-oh-dear
Short Description A read-only Filament 4/5 panel plugin for Oh Dear monitor insights.
License MIT
Homepage https://github.com/ziming/filament-oh-dear
Informations about the package filament-oh-dear
Filament Oh Dear
Read-only Oh Dear insights for Filament 4 and 5 panels. The plugin renders remote Oh Dear monitor data directly from the API, caches responses through Laravel, and avoids local sync tables or CRUD flows.
This package is still very much in progress, when it is ready I will tag a 1.0
Support Us
You can donate to my github sponsor or use my referral link for Oh Dear so I get a small reward if you become a paid customer in the future. This comes at no extra cost to you and helps support my open source work.
https://ohdear.app/?via=filament-oh-dear
Features
Overviewpage composed of pluggable widgets — stats, needs-attention list, monitors-by-group breakdownMonitorspage powered by Filament custom table data- Hidden
Monitor detailspage composed of pluggable per-monitor widgets: summary, check summaries, latency chart, certificate health, broken links, downtime, mixed content, latest Lighthouse report, application health checks, maintenance periods, domain info - Add, remove, or replace any widget on either page via the plugin fluent API or package config
- Package config defaults with per-panel plugin overrides
php artisan filament-oh-dear:verifyfor connection checks
Installation
Publish the config if you want to customize defaults:
Environment
OH_DEAR_API_TOKENis required.OH_DEAR_TEAM_IDis optional. When omitted, the token default scope is used.OH_DEAR_MONITOR_IDSis optional. When set, only those monitors are shown and their order is preserved.OH_DEAR_CACHE_TTL=0disables caching.
Register The Plugin
Per-Panel Overrides
Precedence is always plugin override > package config.
Configuring widgets
Both the Overview and Monitor details pages render a list of Filament widgets
that you can freely mix and match. Defaults come from
Ziming\FilamentOhDear\Support\OhDearSettings::defaultOverviewWidgets() and
defaultMonitorWidgets().
You can also point the package at your own widget classes — anything that
extends BaseMonitorWidget (with a public int $monitorId property) or any
Filament widget accepting an overview array prop will work.
Available widgets
Overview (Ziming\FilamentOhDear\Widgets\Overview\… and
Ziming\FilamentOhDear\Widgets\OverviewStatsWidget):
OverviewStatsWidget– totals and active issue countsNeedsAttentionWidget– list of monitors needing attentionMonitorsByGroupWidget– healthy / issue breakdown per groupMonitorsByTypeWidget– stat tiles per monitor type
Monitor (Ziming\FilamentOhDear\Widgets\Monitor\…):
MonitorSummaryWidget– basic monitor info and statusCheckSummariesWidget– per-check summariesLatencyChartWidget– 24-hour latency sparklineCertificateHealthWidget– TLS certificate details and checksBrokenLinksWidget– broken link findingsDowntimeWidget– recent downtime periodsMixedContentWidget– mixed-content findings (HTTPS pages loading HTTP assets)LighthouseReportWidget– latest Lighthouse scores and web vitalsApplicationHealthChecksWidget– application-reported health checksMaintenancePeriodsWidget– configured maintenance windowsDomainInfoWidget– WHOIS / RDAP snapshot for the domain
Verify Command
The command checks:
- an API token is configured
me()succeeds- the configured team scope is accessible when
team_idis set - each configured monitor is accessible when
monitor_idsis set
Support Matrix
- PHP:
^8.4 - Filament:
^4 | ^5 - Laravel / illuminate contracts:
^12 | ^13 - Oh Dear SDK:
^4
Screenshots
- Overview page: placeholder
- Monitors table: placeholder
- Monitor detail page: placeholder
Local Development
The repository ships with a Testbench workbench panel:
Then open /admin/oh-dear.
Testing
Changelog
Please see CHANGELOG for recent changes.
License
The MIT License (MIT). Please see LICENSE.md for more information.
All versions of filament-oh-dear with dependencies
filament/filament Version ^4|^5
illuminate/contracts Version ^13.0
ohdearapp/ohdear-php-sdk Version ^4
spatie/laravel-package-tools Version ^1.93