Skip to content

Commit a83b86f

Browse files
committed
updated readme to reflect 0.3.0
1 parent 16bfbdc commit a83b86f

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,18 @@ Jorijn\LaravelSecurityChecker\ServiceProvider::class,
2828
_Note: On Laravel 5.5 and up, this package will use auto discovery, and the above step is no longer required._
2929

3030
### Configuration
31-
If you want the package to send reports by email, you'll need to specify a recipient.
32-
33-
If you want the pacakge to send the report to a Slack channel, you will need to specify a Slack Webhook
34-
in your `.env` file.
35-
36-
E.g.:
3731

38-
```
39-
LCS_SLACK_WEBHOOK=https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
40-
```
32+
#### Email
33+
If you want the package to send reports by email, you'll need to specify a recipient.
4134

42-
#### Option 1
35+
##### Option 1
4336
Add it to your `.env` file.
4437

4538
```
4639
LCS_MAIL_TO="someone@example.net"
4740
```
4841

49-
#### Option 2
42+
##### Option 2
5043
Publish the configuration file and change it there.
5144

5245
```bash
@@ -65,6 +58,16 @@ By default, the package won't email you when there are no vulnerabilities found.
6558
LCS_NOTIFY_WITHOUT_VULNERABILITIES=true
6659
```
6760

61+
#### Slack
62+
If you want the package to send the report to a Slack channel, you will need to specify a Slack Webhook
63+
in your `.env` file.
64+
65+
E.g.:
66+
67+
```
68+
LCS_SLACK_WEBHOOK=https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
69+
```
70+
6871
### Scheduling
6972
The package exposes a new command for you:
7073

0 commit comments

Comments
 (0)