Weave Code
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

Laravel Health Laravel Package

spatie/laravel-health

Monitor your Laravel app’s health by registering checks (disk space, etc.) with warning/fail thresholds. Get notified via mail or Slack when checks degrade, and extend with custom checks for proactive alerting.

View on GitHub
Deep Wiki
Context7

title: Manually running checks weight: 4

All registered checks will run automatically when the RunHealthChecksCommand executes. If you followed the installation instructions, you have already scheduled that command to execute every minute.

You can also decide to manually run the command with:

php artisan health:check

Use the command like that will, also stored results and send notifications. Use one or more of the options below to avoid that.

Fail the command when a check fails

By default, the RunHealthChecksCommand will always return a successful exit code (1). When you pass the --fail-command-on-failing-check, then the exit code of the command will be non-successful (0) when one of the checks fails.

php artisan health:check --fail-command-on-failing-check

Avoid sending notifications

The RunHealthChecksCommand will send a notification when one of the checks fails. If you want to avoid sending a notification, you can pass the --no-notification option.

php artisan health:check --no-notification

Avoid storing results

If you've configured a result store, then RunHealthChecksCommand will store the results. If you want to avoid storing results for a manual run, your can use the --do-not-store-results option.

php artisan health:check --do-not-store-results
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport