Skip to content

Commit

Permalink
update README.md with missing explanations and possible config values
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcbrn committed Mar 20, 2023
1 parent a992d2d commit fd49d01
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To publish config file run this in terminal:
php artisan vendor:publish --provider="Dmcbrn\LaravelEmailDatabaseLog\LaravelEmailDatabaseLogServiceProvider"
```

Config contains three parameters:
Config contains following parameters:

```php
//name of the disk where the attachments will be saved
Expand All @@ -69,6 +69,15 @@ Config contains three parameters:

//this parameter prefixes the routes for listing of logged emails using API routes
'routes_prefix_api' => env('EMAIL_LOG_ROUTES_PREFIX_API',''),

//custom route prefix for webhooks
'routes_webhook_prefix' => env('EMAIL_LOG_ROUTES_WEBHOOK_PREFIX', env('EMAIL_LOG_ROUTES_PREFIX','')),

//mailgun secret and whether to ommit events for emails which were not found
'mailgun' => [
'secret' => env('MAILGUN_SECRET', null),
'filter_unknown_emails' => env('EMAIL_LOG_MAILGUN_FILTER_UNKNOWN_EMAILS', true),
],
```

# Usage
Expand Down

0 comments on commit fd49d01

Please sign in to comment.