- Hinzufügen der DependencyInjection-Konfiguration für das Billing-Modul. - Erstellen der Invoice-Entity mit API-Ressourcen und Berechtigungen. - Konfigurieren der Services in services.yaml für das Billing-Modul. - Implementieren von CLI-Commands zur Verwaltung von Modul-Lizenzen und zur Auflistung installierter Module. - Erstellen eines API-Controllers zur Verwaltung von Modulen und Lizenzen. - Hinzufügen eines EventListeners für das Booten von Modulen. - Definieren von Interfaces für Lizenzvalidierung und Modul-Plugins. - Implementieren der ModuleRegistry zur Verwaltung und Booten von Modulen. - Erstellen eines LicenseValidator-Services zur Validierung und Registrierung von Lizenzen.
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
# Plugin-System Konfiguration für myCRM
|
|
# Kopiere diese Datei nach .env.local und passe die Werte an
|
|
|
|
###> Plugin-System ###
|
|
|
|
# URL des Lizenzservers (ohne trailing slash)
|
|
LICENSE_SERVER_URL=https://license.mycrm.local
|
|
|
|
# Eindeutige Instance-ID (generiere mit: php bin/console app:generate-instance-id
|
|
# oder verwende: uuidgen / openssl rand -hex 16)
|
|
INSTANCE_ID=your-unique-instance-identifier-here
|
|
|
|
###< Plugin-System ###
|
|
|
|
###> Modul-Lizenzen ###
|
|
# Format: LICENSE_{MODULE_IDENTIFIER}=lizenzschlüssel
|
|
|
|
# Beispiel: Billing-Modul
|
|
# LICENSE_BILLING=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
|
|
|
|
# Beispiel: Invoicing-Modul
|
|
# LICENSE_INVOICING=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
|
|
|
|
# Beispiel: Inventory-Modul
|
|
# LICENSE_INVENTORY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
|
|
|
|
###< Modul-Lizenzen ###
|
|
|
|
###> Modul-spezifische Konfiguration ###
|
|
|
|
# Billing-Modul: Payment-Gateway
|
|
# PAYMENT_API_KEY=sk_test_...
|
|
|
|
# Inventory-Modul: Lager-System API
|
|
# WAREHOUSE_API_URL=https://warehouse.example.com
|
|
# WAREHOUSE_API_TOKEN=...
|
|
|
|
###< Modul-spezifische Konfiguration ###
|