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.
2 parents 9b25380 + 072a20a commit 9f6d2e3Copy full SHA for 9f6d2e3
README.md
@@ -61,17 +61,17 @@ ServerTiming::setDuration('Running expensive task', function() {
61
62
You can also use the Server-Timing middleware to only set textual information without providing a duration.
63
64
+```php
65
+ServerTiming::addMetric('User: '.$user->id);
66
+```
67
+
68
## Publishing configuration file
69
70
The configuration file could be published using:
71
`php artisan vendor:publish --tag=server-timing-config`
72
73
You can disable the middleware changing the `timing.enabled` configuration to false.
74
-```php
-ServerTiming::addMetric('User: '.$user->id);
-```
-
75
### Testing
76
77
``` bash
0 commit comments