File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff 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
4336Add it to your ` .env ` file.
4437
4538```
4639LCS_MAIL_TO="someone@example.net"
4740```
4841
49- #### Option 2
42+ ##### Option 2
5043Publish 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.
6558LCS_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
6972The package exposes a new command for you:
7073
You can’t perform that action at this time.
0 commit comments