innovareti/laravel-backup-notifications-rocket-chat

Laravel Backup notification channel for Rocket.Chat

dev-master 2021-03-11 19:56 UTC

This package is auto-updated.

Last update: 2022-09-11 22:57:21 UTC


README

Usage

$ composer require innovareti/laravel-backup-notifications-rocket-chat

Add this to your config/backup.php config file:

    'notifications' => [

        'notifications' => [
            \NotificationsRocketChat\Notifications\BackupHasFailed::class                                 => [RocketChatWebhookChannel::class, ... (other providers)],
            \NotificationsRocketChat\Notifications\UnhealthyBackupWasFound::class                         => [RocketChatWebhookChannel::class, ... (other providers)],
            \NotificationsRocketChat\Notifications\CleanupHasFailed::class                                => [RocketChatWebhookChannel::class, ... (other providers)],
            \NotificationsRocketChat\Notifications\BackupWasSuccessful::class                             => [RocketChatWebhookChannel::class, ... (other providers)],
            \NotificationsRocketChat\Notifications\HealthyBackupWasFound::class                           => [RocketChatWebhookChannel::class, ... (other providers)],
            \NotificationsRocketChat\Notifications\CleanupWasSuccessful::class                            => [RocketChatWebhookChannel::class, ... (other providers)],
        ],
        ...