chore: complete update

This commit is contained in:
2025-07-17 16:24:20 +02:00
parent 899227b0a4
commit 64a7051137
1300 changed files with 85570 additions and 2756 deletions

View File

@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);
namespace Archive\Config;
enum ApiConfig: string
{
// RapidMail Konfiguration
case RAPIDMAIL_USERNAME = '3f60a5c15c3d49c631d0e75b7c1090a3859423a7';
case RAPIDMAIL_PASSWORD = '572d25dc36e620f14c89e9c75c02c1f3794ba3c0';
case RAPIDMAIL_DEFAULT_LIST_ID = '776';
// Shopify API Konfiguration
case SHOPIFY_SHOP_DOMAIN = 'michaelschiemer.myshopify.com';
case SHOPIFY_ACCESS_TOKEN = 'shpat_123456789abcdef';
case SHOPIFY_API_VERSION = '2024-04';
/**
* Gibt die numerische RapidMail-Listen-ID zurück
*/
public static function getRapidmailListId(): int
{
return (int)self::RAPIDMAIL_DEFAULT_LIST_ID->value;
}
}

View File

@@ -0,0 +1,33 @@
<?php
return [
// Aktiviert oder deaktiviert das Analytics-Modul
'enabled' => true,
// Automatisches Speichern nach Erreichen der Batch-Größe
'auto_flush' => true,
// Anzahl der Events, die gesammelt werden, bevor sie gespeichert werden
'batch_size' => 50,
// Storage-Backend ('file')
'storage' => 'file',
// Speicherpfad für Analytics-Daten (relativ zum Datenverzeichnis)
'storage_path' => __DIR__ . '/../data/analytics',
// Anonymisierung von persönlichen Daten
'anonymize_ip' => true,
// Benutzerdefinierte Events, die getrackt werden sollen
'track_events' => [
'page_view',
'error',
'performance',
'database',
'http_request',
'http_response',
'user_login',
'user_logout',
],
];