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 Backup Server Laravel Package

spatie/laravel-backup-server

Receive, store, and manage encrypted backups from multiple Laravel apps on a dedicated backup server. Built on top of spatie/laravel-backup, it centralizes backup uploads, retention, and monitoring for safer off-site storage.

View on GitHub
Deep Wiki
Context7

title: Customizing the notifiable weight: 3

Laravel's notifications are sent to a notifiable. A notifiable provides configuration values that determine how notifications will be sent.

By default, the package uses this notifiable class: \Spatie\BackupServer\Notifications\Notifiable::class. This class will read out the config file. All mail notifications will be sent to the mail address specified in the notifications.mail.to key of the config file.

If you use a channel that needs some get some extra information out of the notifiable you can easily extend the default notifiable.

Here's how that might look like:

namespace App\Notifications;

use Spatie\BackupServer\Notifications\Notifiable;

class BackupNotifiable extends Notifiable
{
    public function routeNotificationForAnotherNotificationChannel()
    {
        return config('backup.notifications.another_notification_channel.property');
    }
}

Don't forget to register the notifiable in the config file:

// config/backup.php
    'notifications' => [
    ...

    'notifiable' => App\Notifications\BackupNotifiable::class,    
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