Search by

dbravoan / dbcms-module-marketing

dbravoan

Private artifacts and integration contracts for marketing modules.

Package info

github.com/dbravoan/dbcms-module-marketing

Type:dbcms-module

pkg:composer/dbravoan/dbcms-module-marketing

Statistics

Installs: 8

Dependents: 3

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-11-05 15:41 UTC

This package is auto-updated.

Last update: 2026-11-06 05:51:25 UTC


README

Qué hace

dbravoan/dbcms-module-marketing aporta artefactos privados y contratos compartidos de colas/integraciones para CreativeStudio y SocialPublishing. Descargarlo con Composer no arranca workers.

Config/marketing.php posee configuración namespaced de colas/Redis. Conserva CMS_INSTALLATION_ID y APP_KEY: cambiar su namespace puede abandonar trabajos. La conexión Redis predeterminada es marketing; su retry_after debe superar cualquier timeout configurado de worker.

Configura solo los procesos de módulos usados:

Cola Argumentos Artisan del worker Timeout
Generación creativa queue:work marketing --queue=creative-generation --sleep=2 --tries=1 --timeout=720 720 s
Render creativo queue:work marketing --queue=creative-render --sleep=2 --tries=1 --timeout=300 300 s
Envío social queue:work marketing --queue=social-delivery --sleep=2 --tries=1 --timeout=600 600 s
Reconciliación social queue:work marketing --queue=social-reconciliation --sleep=3 --tries=1 --timeout=180 180 s

Ejecuta un scheduler o réplicas coordinadas compartiendo el almacén de mutex. En local usa Sail; cada proyecto configura su supervisor de procesos y su procedimiento de reinicio. No hay inventario de servicios obligatorio del núcleo.

El render necesita GD/Freetype, FFmpeg, FFprobe y una fuente legible. Configura MARKETING_FONT_PATH, MARKETING_FFMPEG_BINARY y MARKETING_FFPROBE_BINARY según el entorno real. La imagen de calidad incorpora las herramientas; otros entornos deben provisionarlas. Los artefactos son privados y están limitados por MARKETING_MAX_ARTIFACT_BYTES.

Despacha efectos dependientes después del commit. Intención durable y recibos permiten decidir reintentos; un bloqueo de cola no acredita idempotencia externa. No vacíes colas, recibos ni bloqueos como recuperación genérica.

Requisitos y dependencias

  • dbravoan/dbcms-core ^1.0
  • Identificador CMS: marketing

Instalación y activación

Instala el paquete con Composer e instálalo/actívalo en el CMS (marketing).

Configuración

Claves de entorno / config (por nombre, sin valores):

  • MARKETING_QUEUE_DRIVER
  • MARKETING_QUEUE_RETRY_AFTER
  • MARKETING_REDIS_URL
  • MARKETING_REDIS_DB
  • REDIS_URL
  • REDIS_HOST
  • REDIS_USERNAME
  • REDIS_PASSWORD
  • REDIS_PORT
  • CMS_INSTALLATION_ID
  • APP_KEY
  • MARKETING_ARTIFACT_ROOT
  • MARKETING_MAX_ARTIFACT_BYTES
  • MARKETING_FFMPEG_BINARY
  • MARKETING_FFPROBE_BINARY
  • MARKETING_FONT_PATH
  • MARKETING_GENERATION_CONCURRENCY

Rutas

No aplica (infraestructura; sin UI de rutas propias enumeradas como producto).

Comandos Artisan

Ninguno.

Permisos

Ninguno registrado por este paquete.

Privacidad y datos

Artefactos privados limitados por MARKETING_MAX_ARTIFACT_BYTES. No hay comando *:privacy propio. Los módulos consumidores (Creative Studio, Social Publishing) declaran sus tratamientos.

Enlaces