prakort / laravel-wellness
Laravel Wellness monitors the application services
Fund package maintenance!
prakort
Requires
- php: ^8.0
Requires (Dev)
- laravel/pint: ^1.14
- nunomaduro/collision: ^5.10|^6.1|^7.0|^8.0
- orchestra/testbench: ^9.4.0
- pestphp/pest: ^3.7.1
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5|^10.5|^11.5
- spatie/laravel-health: ^1.2
- spatie/laravel-ray: ^1.26
README
This package contains a Laravel Health File Size Monitoring: Identify files that exceed specified size limits to prevent unexpected storage overages.
Installation
You can install the package via composer:
composer require prakort/laravel-wellness
Usage
use Spatie\Health\Facades\Health; use prakort\LaravelWellness\FileSizeCheck; Health::checks([ FileSizeCheck::new() ->disk('s3') ->warningThreshold(5) ->errorThreshold(10) ->fileTypes(['png', 'pdf', 'txt']) ]);
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.