Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
kinetix-health
happones/kinetix
claude-code
health-checks
spatie-health
kinetix
vue
authorization
polling

A lightweight, embeddable application-health widget powered by spatie/laravel-health. Reads the latest stored check results into an overall status + per-check list. Activates when adding a health/status widget.

Install
php artisan boost:add-skill happones/kinetix

Save this content to: .claude/skills/kinetix-health/SKILL.md

# Kinetix System Health Widget

## When to Apply

Activate this skill when:
- Adding an application-health / status widget to a Kinetix dashboard.
- Surfacing spatie/laravel-health check results in the SPA.

It complements a full health page rather than reproducing it.

## Documentation

For full details, reference `docs/health.md` (published at https://happones.github.io/kinetix/health).

## Requirements

Install spatie/laravel-health, register checks, and schedule `health:check` so
results are stored:

```bash
composer require spatie/laravel-health
```

## Configuration

```php
'health' => [
    'enabled' => env('KINETIX_HEALTH_ENABLED', false),
    'poll'    => env('KINETIX_HEALTH_POLL', 30000),
],
```

### Authorization

Gated by the `viewKinetixHealth` ability (defaults to allow in `local` only):

```php
Gate::define('viewKinetixHealth', fn ($user) => $user->isAdmin());
```

## Backend

- `HealthMetrics::snapshot()` → `{ available, status, checkedAt,
  checks:[{name,label,status,message}] }`. Reads the latest stored results from
  spatie/laravel-health; derives a worst-of overall status. Reports
  `available: false` (never throws) without the package.
- `GET {prefix}/health` returns the snapshot (gated, team-aware).

## Frontend

```vue
<KinetixHealthStatus />
```

Overall status badge + per-check rows (status icon + summary); polls on the
shared interval, stops on unmount. `useKinetixHealth()` →
`{ snapshot, loading, failed, load, start, stop }`. i18n `health_*`.

Kinetix System Health Widget

When to Apply

Activate this skill when:

  • Adding an application-health / status widget to a Kinetix dashboard.
  • Surfacing spatie/laravel-health check results in the SPA.

It complements a full health page rather than reproducing it.

Documentation

For full details, reference docs/health.md (published at https://happones.github.io/kinetix/health).

Requirements

Install spatie/laravel-health, register checks, and schedule health:check so results are stored:

composer require spatie/laravel-health

Configuration

'health' => [
    'enabled' => env('KINETIX_HEALTH_ENABLED', false),
    'poll'    => env('KINETIX_HEALTH_POLL', 30000),
],

Authorization

Gated by the viewKinetixHealth ability (defaults to allow in local only):

Gate::define('viewKinetixHealth', fn ($user) => $user->isAdmin());

Backend

  • HealthMetrics::snapshot() → { available, status, checkedAt, checks:[{name,label,status,message}] }. Reads the latest stored results from spatie/laravel-health; derives a worst-of overall status. Reports available: false (never throws) without the package.
  • GET {prefix}/health returns the snapshot (gated, team-aware).

Frontend

<KinetixHealthStatus />

Overall status badge + per-check rows (status icon + summary); polls on the shared interval, stops on unmount. useKinetixHealth() → { snapshot, loading, failed, load, start, stop }. i18n health_*.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect