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

Securely store and manage backups from multiple Laravel apps on a dedicated backup server. Built on spatie/laravel-backup, it automatically receives and organizes incoming backups, with setup and docs tailored for Laravel deployments.

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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope