Skip to content

Commit 95a3768

Browse files
authored
Merge pull request #36 from drbyte/docs
Small updates to readme and config text
2 parents 3d49001 + f8e4f9d commit 95a3768

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@ return [
2828
'notifications' => [
2929

3030
'notifications' => [
31-
\Spatie\UptimeMonitor\Notifications\Notifications\MonitorFailed::class => ['slack'],
32-
\Spatie\UptimeMonitor\Notifications\Notifications\MonitorRecovered::class => ['slack'],
33-
\Spatie\UptimeMonitor\Notifications\Notifications\MonitorSucceeded::class => [],
31+
\Spatie\UptimeMonitor\Notifications\Notifications\UptimeCheckFailed::class => ['slack'],
32+
\Spatie\UptimeMonitor\Notifications\Notifications\UptimeCheckRecovered::class => ['slack'],
33+
\Spatie\UptimeMonitor\Notifications\Notifications\UptimeCheckSucceeded::class => [],
3434

35-
\Spatie\UptimeMonitor\Notifications\Notifications\SslCheckFailed::class => ['slack'],
36-
\Spatie\UptimeMonitor\Notifications\Notifications\SslExpiresSoon::class => ['slack'],
37-
\Spatie\UptimeMonitor\Notifications\Notifications\SslCheckSucceeded::class => [],
35+
\Spatie\UptimeMonitor\Notifications\Notifications\CertificateCheckFailed::class => ['slack'],
36+
\Spatie\UptimeMonitor\Notifications\Notifications\CertificateExpiresSoon::class => ['slack'],
37+
\Spatie\UptimeMonitor\Notifications\Notifications\CertificateCheckSucceeded::class => [],
3838
],
3939

4040
/*
41-
* The location from where you are running this Laravel application. This location will be mentioned
42-
* in all notifications that will be sent.
41+
* The location from where you are running this Laravel application. This location will be
42+
* mentioned in all notifications that will be sent.
4343
*/
4444
'location' => '',
4545

4646
/*
47-
* To keep reminding you that a site is down notifications
48-
* will be resent every given amount of minutes.
47+
* To keep reminding you that a site is down, notifications
48+
* will be resent every given number of minutes.
4949
*/
5050
'resend_uptime_check_failed_notification_every_minutes' => 60,
5151

@@ -85,13 +85,13 @@ return [
8585

8686
/*
8787
* The uptime check for a site will fail if site does not respond after the
88-
* given amount of seconds.
88+
* given number of seconds.
8989
*/
9090
'timeout_per_site' => 10,
9191

9292
/*
9393
* Fire `Spatie\UptimeMonitor\Events\MonitorFailed` event only after
94-
* the given amount of checks have consecutively failed for a site.
94+
* the given number of checks have consecutively failed for a site.
9595
*/
9696
'fire_monitor_failed_event_after_consecutive_failures' => 2,
9797

@@ -106,14 +106,14 @@ return [
106106
/*
107107
* The `Spatie\UptimeMonitor\Events\SslExpiresSoon` event will fire
108108
* when a certificate is found whose expiration date is in
109-
* the next amount given days.
109+
* the next number of given days.
110110
*/
111111
'fire_expiring_soon_event_if_certificate_expires_within_days' => 10,
112112
],
113113

114114
/*
115115
* To add or modify behaviour to the Site model you can specify your
116-
* own model here. They only requirement is that it should extend
116+
* own model here. The only requirement is that it should extend
117117
* `Spatie\UptimeMonitor\Test\Models\Site`.
118118
*/
119119
'monitor_model' => Spatie\UptimeMonitor\Models\Monitor::class,
@@ -139,7 +139,7 @@ Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recen
139139

140140
## Testing
141141

142-
To run the tests you'll have to start the included node based server first in a seperate terminal window.
142+
To run the tests you'll have to start the included node based server first in a separate terminal window.
143143

144144
```bash
145145
cd tests/server

config/laravel-uptime-monitor.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
],
2020

2121
/*
22-
* The location from where you are running this Laravel application. This location will be mentioned
23-
* in all notifications that will be sent.
22+
* The location from where you are running this Laravel application. This location will be
23+
* mentioned in all notifications that will be sent.
2424
*/
2525
'location' => '',
2626

2727
/*
28-
* To keep reminding you that a site is down notifications
29-
* will be resent every given amount of minutes.
28+
* To keep reminding you that a site is down, notifications
29+
* will be resent every given number of minutes.
3030
*/
3131
'resend_uptime_check_failed_notification_every_minutes' => 60,
3232

@@ -94,7 +94,7 @@
9494

9595
/*
9696
* To add or modify behaviour to the Site model you can specify your
97-
* own model here. They only requirement is that it should extend
97+
* own model here. The only requirement is that it should extend
9898
* `Spatie\UptimeMonitor\Test\Models\Site`.
9999
*/
100100
'monitor_model' => Spatie\UptimeMonitor\Models\Monitor::class,

0 commit comments

Comments
 (0)