This repository was archived by the owner on May 20, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathserver.php
81 lines (79 loc) · 2.47 KB
/
server.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
use Modules\Ray\Console\Handlers;
return [
'ray' => [
'http_check_status' => (int) env('HTTP_CHECK_STATUS', 200),
'cli' => [
'enabled' => (bool) env('CLI_RAY_STREAM', true),
'handlers' => [
'log' => Handlers\LogHandler::class,
'table' => Handlers\TableHandler::class,
'caller' => Handlers\CallerHandler::class,
'trace' => Handlers\TraceHandler::class,
'custom' => Handlers\CustomHandler::class,
'exception' => Handlers\ExceptionHandler::class,
'measure' => Handlers\MeasureHandler::class,
'json_string' => Handlers\JsonHandler::class,
'carbon' => Handlers\CarbonHandler::class,
'eloquent_model' => Handlers\EloquentModelHandler::class,
'executed_query' => Handlers\ExecutedQueryHandler::class,
'job_event' => Handlers\JobEventHandler::class,
'event' => Handlers\EventHandler::class,
'view' => Handlers\ViewHandler::class,
'notify' => Handlers\NotifyHandler::class,
],
],
],
'httpdump' => [
'http' => [
'index' => 'HttpDump/Index',
'show' => 'HttpDump/Show',
],
],
'sentry' => [
'http' => [
'index' => 'Sentry/Index',
'show' => 'Sentry/Show',
],
'cli' => [
'enabled' => (bool) env('CLI_SENTRY_STREAM', true),
],
],
'sentryTransaction' => [
'http' => [
'index' => 'SentryTransaction/Index',
'show' => 'SentryTransaction/Show',
],
'cli' => [
'enabled' => (bool) env('CLI_SENTRY_TRANSACTION_STREAM', true),
],
],
'smtp' => [
'http' => [
'index' => 'Smtp/Index',
'show' => 'Smtp/Show',
],
'cli' => [
'enabled' => (bool) env('CLI_SMTP_STREAM', true),
],
],
'var-dumper' => [
'cli' => [
'enabled' => (bool) env('CLI_VAR_DUMPER_STREAM', true),
],
],
'monolog' => [
'cli' => [
'enabled' => (bool) env('CLI_MONOLOG_STREAM', true),
],
],
'inspector' => [
'http' => [
'index' => 'Inspector/Index',
'show' => 'Inspector/Show',
],
'cli' => [
'enabled' => (bool) env('CLI_INSPECTOR_STREAM', true),
],
],
];