|
106 | 106 | | |
107 | 107 | */ |
108 | 108 |
|
109 | | - 'providers' => [ |
110 | | - |
111 | | - /* |
112 | | - * Laravel Framework Service Providers... |
113 | | - */ |
114 | | - Illuminate\Auth\AuthServiceProvider::class, |
115 | | - Illuminate\Broadcasting\BroadcastServiceProvider::class, |
116 | | - Illuminate\Bus\BusServiceProvider::class, |
117 | | - Illuminate\Cache\CacheServiceProvider::class, |
118 | | - Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, |
119 | | - Illuminate\Cookie\CookieServiceProvider::class, |
120 | | - Illuminate\Database\DatabaseServiceProvider::class, |
121 | | - Illuminate\Encryption\EncryptionServiceProvider::class, |
122 | | - Illuminate\Filesystem\FilesystemServiceProvider::class, |
123 | | - Illuminate\Foundation\Providers\FoundationServiceProvider::class, |
124 | | - Illuminate\Hashing\HashServiceProvider::class, |
125 | | - Illuminate\Mail\MailServiceProvider::class, |
126 | | - Illuminate\Notifications\NotificationServiceProvider::class, |
127 | | - Illuminate\Pagination\PaginationServiceProvider::class, |
128 | | - Illuminate\Pipeline\PipelineServiceProvider::class, |
129 | | - Illuminate\Queue\QueueServiceProvider::class, |
130 | | - Illuminate\Redis\RedisServiceProvider::class, |
131 | | - Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, |
132 | | - Illuminate\Session\SessionServiceProvider::class, |
133 | | - Illuminate\Translation\TranslationServiceProvider::class, |
134 | | - Illuminate\Validation\ValidationServiceProvider::class, |
135 | | - Illuminate\View\ViewServiceProvider::class, |
136 | | - |
137 | | - /* |
138 | | - * Package Service Providers... |
139 | | - */ |
140 | | - |
141 | | - /* |
142 | | - * Application Service Providers... |
143 | | - */ |
144 | | - \App\Http\Utils\UtilsProvider::class, |
145 | | - Repositories\RepositoriesProvider::class, |
146 | | - App\Providers\AppServiceProvider::class, |
147 | | - App\Providers\AuthServiceProvider::class, |
148 | | - // App\Providers\BroadcastServiceProvider::class, |
149 | | - App\Providers\EventServiceProvider::class, |
150 | | - App\Providers\RouteServiceProvider::class, |
151 | | - Services\Utils\UtilsProvider::class, |
152 | | - Services\OAuth2\OAuth2ServiceProvider::class, |
153 | | - Services\OpenId\OpenIdProvider::class, |
154 | | - Auth\AuthenticationServiceProvider::class, |
155 | | - Services\ServicesProvider::class, |
156 | | - Strategies\StrategyProvider::class, |
157 | | - OAuth2\OAuth2ServiceProvider::class, |
158 | | - OpenId\OpenIdServiceProvider::class, |
159 | | - \Providers\OAuth2\ClientAuthContextValidatorFactoryProvider::class, |
160 | | - Greggilbert\Recaptcha\RecaptchaServiceProvider::class, |
161 | | - Sichikawa\LaravelSendgridDriver\SendgridTransportServiceProvider::class, |
162 | | - // Doctrine ORM |
163 | | - LaravelDoctrine\ORM\DoctrineServiceProvider::class, |
164 | | - // Doctrine Extensions |
165 | | - LaravelDoctrine\Extensions\GedmoExtensionsServiceProvider::class, |
166 | | - // Doctrine Migrations |
167 | | - LaravelDoctrine\Migrations\MigrationsServiceProvider::class, |
168 | | - // Doctrine Beberlei (Query/Type) extensions install them: |
169 | | - LaravelDoctrine\Extensions\BeberleiExtensionsServiceProvider::class, |
170 | | - \App\Models\Utils\MySQLExtensionsServiceProvider::class, |
171 | | - \App\libs\Utils\FileSystem\SwiftServiceProvider::class, |
172 | | - // remove 'Laravel\Socialite\SocialiteServiceProvider', |
173 | | - \SocialiteProviders\Manager\ServiceProvider::class, // add |
174 | | - \App\libs\Utils\Html\HtmlServiceProvider::class, |
175 | | - App\libs\Utils\Doctrine\DoctrineCacheServiceProvider::class, |
176 | | - ], |
| 109 | + 'providers' => array_merge([ |
| 110 | + |
| 111 | + /* |
| 112 | + * Laravel Framework Service Providers... |
| 113 | + */ |
| 114 | + Illuminate\Auth\AuthServiceProvider::class, |
| 115 | + Illuminate\Broadcasting\BroadcastServiceProvider::class, |
| 116 | + Illuminate\Bus\BusServiceProvider::class, |
| 117 | + Illuminate\Cache\CacheServiceProvider::class, |
| 118 | + Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, |
| 119 | + Illuminate\Cookie\CookieServiceProvider::class, |
| 120 | + Illuminate\Database\DatabaseServiceProvider::class, |
| 121 | + Illuminate\Encryption\EncryptionServiceProvider::class, |
| 122 | + Illuminate\Filesystem\FilesystemServiceProvider::class, |
| 123 | + Illuminate\Foundation\Providers\FoundationServiceProvider::class, |
| 124 | + Illuminate\Hashing\HashServiceProvider::class, |
| 125 | + Illuminate\Mail\MailServiceProvider::class, |
| 126 | + Illuminate\Notifications\NotificationServiceProvider::class, |
| 127 | + Illuminate\Pagination\PaginationServiceProvider::class, |
| 128 | + Illuminate\Pipeline\PipelineServiceProvider::class, |
| 129 | + Illuminate\Queue\QueueServiceProvider::class, |
| 130 | + Illuminate\Redis\RedisServiceProvider::class, |
| 131 | + Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, |
| 132 | + Illuminate\Session\SessionServiceProvider::class, |
| 133 | + Illuminate\Translation\TranslationServiceProvider::class, |
| 134 | + Illuminate\Validation\ValidationServiceProvider::class, |
| 135 | + Illuminate\View\ViewServiceProvider::class, |
| 136 | + |
| 137 | + /* |
| 138 | + * Package Service Providers... |
| 139 | + */ |
| 140 | + |
| 141 | + /* |
| 142 | + * Application Service Providers... |
| 143 | + */ |
| 144 | + \App\Http\Utils\UtilsProvider::class, |
| 145 | + Repositories\RepositoriesProvider::class, |
| 146 | + App\Providers\AppServiceProvider::class, |
| 147 | + App\Providers\AuthServiceProvider::class, |
| 148 | + // App\Providers\BroadcastServiceProvider::class, |
| 149 | + App\Providers\EventServiceProvider::class, |
| 150 | + App\Providers\RouteServiceProvider::class, |
| 151 | + Services\Utils\UtilsProvider::class, |
| 152 | + Services\OAuth2\OAuth2ServiceProvider::class, |
| 153 | + Services\OpenId\OpenIdProvider::class, |
| 154 | + Auth\AuthenticationServiceProvider::class, |
| 155 | + Services\ServicesProvider::class, |
| 156 | + Strategies\StrategyProvider::class, |
| 157 | + OAuth2\OAuth2ServiceProvider::class, |
| 158 | + OpenId\OpenIdServiceProvider::class, |
| 159 | + \Providers\OAuth2\ClientAuthContextValidatorFactoryProvider::class, |
| 160 | + Greggilbert\Recaptcha\RecaptchaServiceProvider::class, |
| 161 | + Sichikawa\LaravelSendgridDriver\SendgridTransportServiceProvider::class, |
| 162 | + // Doctrine ORM |
| 163 | + LaravelDoctrine\ORM\DoctrineServiceProvider::class, |
| 164 | + // Doctrine Extensions |
| 165 | + LaravelDoctrine\Extensions\GedmoExtensionsServiceProvider::class, |
| 166 | + // Doctrine Migrations |
| 167 | + LaravelDoctrine\Migrations\MigrationsServiceProvider::class, |
| 168 | + // Doctrine Beberlei (Query/Type) extensions install them: |
| 169 | + LaravelDoctrine\Extensions\BeberleiExtensionsServiceProvider::class, |
| 170 | + \App\Models\Utils\MySQLExtensionsServiceProvider::class, |
| 171 | + \App\libs\Utils\FileSystem\SwiftServiceProvider::class, |
| 172 | + // remove 'Laravel\Socialite\SocialiteServiceProvider', |
| 173 | + \SocialiteProviders\Manager\ServiceProvider::class, // add |
| 174 | + \App\libs\Utils\Html\HtmlServiceProvider::class, |
| 175 | + App\libs\Utils\Doctrine\DoctrineCacheServiceProvider::class, |
| 176 | + App\Audit\AuditProvider::class, |
| 177 | + // Only if you want to toggle via env: |
| 178 | + ], |
| 179 | + env('OTEL_SERVICE_ENABLED', false) ? [\Keepsuit\LaravelOpenTelemetry\LaravelOpenTelemetryServiceProvider::class] : [] |
| 180 | + ), |
177 | 181 |
|
178 | 182 | /* |
179 | 183 | |-------------------------------------------------------------------------- |
|
0 commit comments