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: Via Slack weight: 2

When a check starts returning warnings or failures, you can get notified via slack.

To use this channel, you must install the Slack notification channel.

composer require laravel/slack-notification-channel

To do this you must set the CheckFailedNotification to use the slack channel. This can be done in the config file.

// in config/health.php

'notifications' => [
    Spatie\Health\Notifications\CheckFailedNotification::class => ['slack'],
],

In the slack key of the health config file, you can configure the various Slack settings. Set HEALTH_SLACK_WEBHOOK_URL env variable with a valid Slack webhook URL. You can learn how to get a webhook URL in the Slack API docs.

// in config/health.php

'slack' => [
    'webhook_url' => env('HEALTH_SLACK_WEBHOOK_URL', ''),

    /*
     * If this is set to null the default channel of the webhook will be used.
     */
    'channel' => null,

    'username' => null,

    'icon' => null,
],
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