<?php
 namespace Database\Seeders; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { public function run(): void { $this->call([ PermissionSeeder::class, AdminSeeder::class, CurrencySeeder::class, LanguageSeeder::class, CountryCitySeeder::class, ClientGroupSeeder::class, ModulesSeeder::class, SettingsSeeder::class, SupportSettingsSeeder::class, CommunicationTemplateSeeder::class, TicketDepartmentSeeder::class, TicketDepartmentTranslationSeeder::class, TicketStatusSeeder::class, ClientBalanceTypeSeeder::class, RouteSlugSeeder::class, StaticPagesSeeder::class, MenuSeeder::class, ]); if (app()->environment('local')) { $demo = [ RegistrarSeeder::class, RegistrarSettingSeeder::class, TldSeeder::class, ClientSeeder::class, ProductConfigOptionGroupSeeder::class, ProductConfigOptionSeeder::class, ProductCategorySeeder::class, ProductSeeder::class, ResellerBrandSeeder::class, DummyClientSeeder::class, ClientDomainSeeder::class, ClientCustomFieldSeeder::class, ClientCustomFieldValueSeeder::class, ClientProductSeeder::class, ServerGroupSeeder::class, ServerSeeder::class, ServerGroupRelationSeeder::class, PricingSeeder::class, TicketDepartmentMailboxSeeder::class, EscalationRuleSeeder::class, TicketPredefinedReplySeeder::class, ServiceCostSeeder::class, DomainCostSeeder::class, ClientBalanceSeeder::class, CouponSeeder::class, TaxRuleSeeder::class, CancellationRequestSeeder::class, LogSeeder::class, InvoiceBillingSeeder::class, TicketSeeder::class, PaymentGatewaySeeder::class, TagSeeder::class, PostSeeder::class, ContractSeeder::class, NetworkStatusSeeder::class, ]; foreach ($demo as $seeder) { if (class_exists($seeder)) { $this->call($seeder); } } } } } 