innovareti / laravel-backup-notifications-rocket-chat
Laravel Backup notification channel for Rocket.Chat
dev-master
2021-03-11 19:56 UTC
Requires
- php: >=7.2
- laravel-notification-channels/rocket-chat: ^0.3.0
Requires (Dev)
This package is auto-updated.
Last update: 2025-02-12 04:14:17 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)], ], ...