Skip to content

Commit cca8b2e

Browse files
trickifreekmurze
authored andcommitted
docs(setup): update default config
1 parent f3ef742 commit cca8b2e

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/installation-and-setup.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,19 @@ return [
156156
/*
157157
* The encryption algorithm to be used for archive encryption.
158158
* You can set it to `null` or `false` to disable encryption.
159+
*
160+
* When set to 'default', we'll use ZipArchive::EM_AES_256 if it is
161+
* available on your system.
159162
*/
160-
'encryption' => \ZipArchive::EM_AES_256,
163+
'encryption' => 'default',
161164
],
162165

163166
/*
164167
* You can get notified when specific events occur. Out of the box you can use 'mail' and 'slack'.
165168
* For Slack you need to install laravel/slack-notification-channel.
166169
*
167170
* You can also use your own notification classes, just make sure the class is named after one of
168-
* the `Spatie\Backup\Events` classes.
171+
* the `Spatie\Backup\Notifications\Notifications` classes.
169172
*/
170173
'notifications' => [
171174

@@ -206,6 +209,14 @@ return [
206209
'icon' => null,
207210

208211
],
212+
213+
'discord' => [
214+
'webhook_url' => '',
215+
216+
'username' => null,
217+
218+
'avatar_url' => null,
219+
],
209220
],
210221

211222
/*
@@ -281,6 +292,7 @@ return [
281292
'delete_oldest_backups_when_using_more_megabytes_than' => 5000,
282293
],
283294
],
295+
284296
];
285297
```
286298

0 commit comments

Comments
 (0)