Skip to content

PhoenixKit 1.7.16: A Legal module that drafts your privacy pages

PhoenixKit 1.7.16 adds a Legal module that drafts a site’s legal pages from its company details and the privacy laws it follows.

On Legal Settings at /admin/settings/legal you choose the Compliance Frameworks: GDPR, UK GDPR, CCPA/CPRA, US state laws, LGPD, PIPEDA or a generic set. You enter the company information and, where needed, a Data Protection Officer (DPO). Generate All Required Pages then writes the pages those frameworks need, such as the privacy policy, terms of service and cookie policy, as posts in a “legal” blog that you can edit. The page warns that they are drafts to be reviewed by a legal professional before publishing.

The Legal module needs the Blogging module. Migration V43 adds its settings and a table for logging visitors’ consent.

Upgrading

Run mix phoenix_kit.update for V43, then enable Blogging before Legal.

Full release notes: PhoenixKit 1.7.16

1.7.16 · 29 December 2025

Legal Module - Phase 1

  • New Legal module for privacy compliance and legal page management
  • Compliance framework selection - Support for GDPR, CCPA, LGPD, PDPA, POPIA, and Generic frameworks
  • Company information form - Store company details for legal page generation
  • DPO contact form - Data Protection Officer contact information
  • Legal page generation - Generate pages from EEx templates:
    • Privacy Policy, Terms of Service, Cookie Policy
    • Data Retention Policy, CCPA Notice, Acceptable Use Policy, Do Not Sell
  • Blogging integration - Generated pages stored as blog posts in dedicated “legal” blog
  • Consent logging schema - Track user consent for cookies and data processing (V43 migration)
  • Admin settings interface - Manage legal settings at /admin/settings/legal
  • Module organization - Files structured in lib/modules/legal/ following Storage module pattern

PhoenixKit 1.7.16. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.