'https://www.tsv08kulmbach.de', // 'production' oder 'development' (steuert Fehleranzeige). 'env' => 'production', // Geheimer Schlüssel für die HMAC-Time-Trap der Formulare. // Generieren mit: php -r "echo bin2hex(random_bytes(32));" 'app_secret' => 'CHANGE_ME', // All-Inkl SMTP (Postfach im KAS anlegen; Host = .kasserver.com). // Verbindung testen ohne Mailversand: php bin/smtp-test.php 'smtp' => [ 'host' => 'w01ca75d.kasserver.com', 'port' => 587, // STARTTLS 'username' => 'noreply@tsv08kulmbach.de', // volle Postfach-Adresse 'password' => 'POSTFACH_PASSWORT', // Absender: das authentifizierte Postfach (gleiche Domain, sonst lehnt All-Inkl ab). 'from' => 'noreply@tsv08kulmbach.de', 'from_name' => 'TSV 08 Kulmbach', // Empfänger der Formular-Mails. 'to' => 'info@tsv08kulmbach.de', ], // Instagram-Scraper (bin/instagram-sync.php). 'instagram' => [ 'username' => 'tsv08kulmbach', 'max_posts' => 9, ], // Matchcenter-Scraper (bin/matchcenter-sync.php) — Spielplan/Ergebnisse/Tabelle // aus der öffentlichen BFV-Widget-JSON-API. Die IDs sind keine Geheimnisse // (sie steckten schon im alten BFV-Widget-Embed) und dürfen hier stehen. 'matchcenter' => [ // Referer für die BFV-Requests (gegen HTTP 418). 'referer' => 'https://widget-prod.bfv.de/', 'max_upcoming' => 5, // anstehende Spiele pro Team + im globalen Slider 'max_results' => 5, // letzte Ergebnisse pro Team // key = Schlüssel in data/teams.json (für kuratierten Namen/Liga/Slug), // team_id = BFV permanentId (saison-stabil). compound_id = Wettbewerbs-ID // der Tabelle — nur Fallback: der Scraper leitet die aktuelle compoundId // automatisch aus der Matches-API ab, sodass eine neue Saison von selbst // übernommen wird. compound_id nur pflegen, falls die Auto-Erkennung mal fehlt. 'teams' => [ ['key' => 'erste-mannschaft', 'team_id' => '016PKHIPIO000000VV0AG811VUDIC8D7', 'compound_id' => '02TBKEVREG000006VS5489BTVVQ0O654-G'], ['key' => 'zweite-mannschaft', 'team_id' => '016PCRVRJC000000VV0AG811VTE5EA5R', 'compound_id' => '02TD8CKMD8000006VS5489BTVTLPPK10-G'], ['key' => 'damen', 'team_id' => '01HLQ7QVES000000VV0AG80NVVKQLCU9', 'compound_id' => '02TK5AGFE0000004VS5489BUVVPGA9RV-G'], ], ], ];