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 79d67e2 + 9ed7207 commit ca2b163Copy full SHA for ca2b163
README.md
@@ -94,7 +94,7 @@ ServerTiming::addMetric('User: '.$user->id);
94
The configuration file could be published using:
95
`php artisan vendor:publish --tag=server-timing-config`
96
97
-You can disable the middleware changing the `timing.enabled` configuration to false.
+You can disable the middleware by changing the `timing.enabled` configuration to false or adding `SERVER_TIMING_ENABLED=false` to your `.env` file.
98
99
### Testing
100
src/config/config.php
@@ -11,5 +11,5 @@
11
|
12
*/
13
14
- 'enabled' => true,
+ 'enabled' => env('SERVER_TIMING_ENABLED', true),
15
];
0 commit comments