Skip to content

Commit 5c9be54

Browse files
committed
Update README.md
1 parent c57db75 commit 5c9be54

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ ServerTiming::setDuration('Running expensive task', function() {
5757

5858
You can also use the Server-Timing middleware to only set textual information without providing a duration.
5959

60+
## Publishing configuration file
61+
62+
The configuration file could be published using:
63+
`php artisan vendor:publish server-timing-config`
64+
65+
You can disable the middleware changing the `timing.enabled` configuration to false.
66+
6067
```php
6168
ServerTiming::addMetric('User: '.$user->id);
6269
```

0 commit comments

Comments
 (0)