yezzmedia / laravel-ops-infrastructure
Live infrastructure posture diagnostics for the Yezz Media Laravel website platform.
Package info
github.com/yezzmedia/laravel-ops-infrastructure
pkg:composer/yezzmedia/laravel-ops-infrastructure
Requires
- php: ^8.4
- filament/filament: ^5.0
- illuminate/contracts: ^13.0
- illuminate/support: ^13.0
- spatie/laravel-package-tools: ^1.93
- yezzmedia/laravel-foundation: ^0.2
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.29
- mockery/mockery: ^1.6
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
Suggests
- spatie/laravel-activitylog: Optional audit persistence driver for infrastructure audit events.
- spatie/laravel-health: Optional health backend for infrastructure diagnostics and readiness surfaces.
README
Laravel Ops · Infrastructure
yezzmedia/laravel-ops-infrastructure provides live infrastructure posture diagnostics for the Yezz Media ops panel.
It resolves runtime posture for queue, cache, database, storage, and runtime resources, building aggregated summaries and surfacing actionable warnings through shared doctor checks and cached diagnostics snapshots.
Version
Current release: 0.2.0
Requirements
- PHP
^8.5 - Laravel
^13.0components spatie/laravel-package-tools ^1.93yezzmedia/laravel-foundation ^0.2yezzmedia/laravel-ops ^0.2
Installation
composer require yezzmedia/laravel-ops-infrastructure
What The Package Provides
Posture Resolvers
Individual resolvers inspect live infrastructure state:
- Queue — connection health, pending jobs, failed jobs
- Cache — store connectivity, hit/miss ratios
- Database — connection status, migration state
- Storage — disk availability, permissions
- Runtime — PHP version, extensions, memory limits
Summary Building
InfrastructureSummary aggregates resolver results into a normalized posture summary surfaced in the ops panel overview, with color-coded status indicators (Healthy, Warning, Failed, Unsupported).
Doctor Checks
Declares foundation-aligned doctor checks for:
- Connectivity verification per infrastructure domain
- Configuration validation
- Runtime metrics thresholds
Cached Diagnostics
Diagnostics snapshots are cached with configurable TTLs to avoid repeated live checks during a single ops panel session.
Development
composer test
composer analyse
composer format
License
MIT