New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

code16/laravel-health-checks

Various checks for spatie/laravel-health
3,688
Install
composer require code16/laravel-health-checks
Latest Version:v1.0.3
PHP:8.4.*|8.5.*
Laravel:11 · 12 · 13
License:MIT
Last Updated:Apr 13, 2026
Links: GitHub  ·  Packagist
Maintainer: code16

You can install the package via composer:

composer require code16/laravel-health-checks

Usage

Declare this check in your HealthCheckServiceProvider:

PhpUploadConfigCheck::new()
    // in Mb, If you want to check GB values, use number * 1024 (i.e: 8 * 1024 will match a 8G config value)
    ->setPostMaxSizeInMb(8) 
    ->setMaxUploadSizeInMb(200)
    // By default, the check will allow a greater value, if you want a strict check, you'll have to set ->allowGreaterValue(allow: false)
    ->allowGreaterValue(allow: true, max: 200), // Define a maximum value

Testing

composer test

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

code16/laravel-captcha

This is my package laravel-captcha

2,834 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607

Version History

Version Released PHP Laravel License
v1.0.3 8.4.*|8.5.* ^11.0|^12.0|^13.0 MIT
v1.0.2 ^8.4 ^11.0||^12.0 MIT
v1.0.1 ^8.4 ^11.0||^12.0 MIT
v1.0.0 ^8.4 ^11.0||^12.0 MIT