Download the PHP package illuma-law/healthcheck-storage without Composer
On this page you can find all versions of the php package illuma-law/healthcheck-storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download illuma-law/healthcheck-storage
More information about illuma-law/healthcheck-storage
Files in illuma-law/healthcheck-storage
Package healthcheck-storage
Short Description Focused storage health check for Spatie's Laravel Health package.
License MIT
Homepage https://github.com/illuma-law/healthcheck-storage
Informations about the package healthcheck-storage
Healthcheck storage for Laravel
A focused storage health check for Spatie's Laravel Health package.
This package provides a direct health check to verify that your configured storage disks (local, S3, etc.) are actually writable by the application.
Features
- Write-Read-Delete Cycle: Performs a complete cycle (write small file, read it back, delete it) to ensure full disk operationality.
- Multi-Disk Support: Monitor multiple disks at once (defaults to
localandpublic). - Performance Tracking: Reports the latency of the storage operations for each disk in the health meta data.
Installation
Require this package with composer:
Usage & Integration
Register the check inside your application's health service provider (e.g. AppServiceProvider or a dedicated HealthServiceProvider), alongside your other Spatie Laravel Health checks:
Basic Registration
Expected Result States
The check interacts with the Spatie Health dashboard and JSON endpoints using these states:
- Ok: All probed disks successfully completed the write-read-delete cycle.
- Skipped: No valid disks were configured or found to probe.
- Failed: One or more disks failed to write, read back, or delete the probe file.
Testing
Run the test suite:
License
The MIT License (MIT). Please see License File for more information.
All versions of healthcheck-storage with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0
illuminate/database Version ^11.0||^12.0||^13.0
illuminate/support Version ^11.0||^12.0||^13.0
spatie/laravel-health Version ^1.39