We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c57db75 commit 5c9be54Copy full SHA for 5c9be54
README.md
@@ -57,6 +57,13 @@ ServerTiming::setDuration('Running expensive task', function() {
57
58
You can also use the Server-Timing middleware to only set textual information without providing a duration.
59
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
67
```php
68
ServerTiming::addMetric('User: '.$user->id);
69
```
0 commit comments