AnalyticsServiceProvider::class, 'Audit' => AuditServiceProvider::class, 'CarrierManagement' => CarrierManagementServiceProvider::class, 'Configuration' => ConfigurationServiceProvider::class, 'DocumentArchive' => DocumentArchiveServiceProvider::class, 'InternalApi' => InternalApiServiceProvider::class, 'InventoryManagement' => InventoryManagementServiceProvider::class, 'M3Integration' => M3IntegrationServiceProvider::class, 'Platform' => PlatformServiceProvider::class, 'Replenishment' => ReplenishmentServiceProvider::class, 'Reporting' => ReportingServiceProvider::class, 'Security' => SecurityServiceProvider::class, 'SentinelIntegration' => SentinelIntegrationServiceProvider::class, 'Shipping' => ShippingServiceProvider::class, 'Transportation' => TransportationServiceProvider::class, 'Warehouse' => WarehouseServiceProvider::class, ]; $enabledModuleProviders = []; foreach ($moduleProviders as $module => $provider) { if (($statuses[$module] ?? false) === true) { $enabledModuleProviders[] = $provider; } } return array_merge($coreProviders, $enabledModuleProviders);