feat: connect white paper download form to Brevo

Refactors the download route into clean single-responsibility functions
and adds Brevo contact sync (list ID configurable via brevo_whitepaper.list_id).
Includes a stub for future external email deliverability validation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-06-04 07:37:32 +02:00
parent d12c31641f
commit dbba73ea62
3 changed files with 164 additions and 73 deletions

View file

@ -12,6 +12,11 @@ return [
'thumbs' => require __DIR__ . '/thumbs.php',
'brevo_whitepaper' => [
'api_key' => '', // leave empty in dev to skip Brevo sync
'list_id' => 5,
],
'cache' => [
'redirects' => ['type' => 'file'],
],