Skip to content

symfinity/privacy-settings-bundle

Repository files navigation

Privacy Settings Bundle

Strict privacy categories, consent capture, and form-tier consent UI for Symfony

PHP Version Symfony
CI
Release Downloads License

Note

Read-only mirror. See CONTRIBUTING.md for how to propose changes.

Features

  • Canonical attributedata-privacy-category only; rejects alternate names (data-cookiecategory, data-cc)
  • Consent services — capture, restore, signed cookie store (default), and store port with events
  • ConsentBanner UI — composes symfinity/ux-blocks-form roles + glue CSS; Cookie settings reopen
  • Enforcement (v0.2)privacy_consent(), PrivacyMediaEmbed, opt-in script unblocker — docs/enforcement.md
  • Flex recipe — bundle registration and default four categories on install

Prerequisites

Add the symfinity/recipes Flex endpoint before composer require.

Installation

composer require symfinity/privacy-settings-bundle

See Installation.

Quick start

{{ component('ConsentBanner') }}

See Quickstart and Enforcement.

Documentation

Requirements

  • PHP 8.2+
  • Symfony 7.4 or 8.x
  • symfinity/ux-blocks-form ^0.1

Suggest symfinity/ui-kernel for themed apps.

Support

License

MIT

About

Strict privacy categories, consent capture, and form-tier consent UI for Symfony

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors