yiirocks / voyti-gdpr
GDPR compliance addon for Voyti user management: data export, account anonymization
Fund package maintenance!
Requires
- php: >=8.3
- yiirocks/voyti: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: @stable
- infection/infection: ^0.34.0
- nyholm/psr7: ^1.8
- phpunit/phpunit: @stable
- psr/http-client: ^1.0
- rector/rector: ^2.1.1
- vimeo/psalm: ^6.0
- yiisoft/code-style: ^1.1
- yiisoft/config: ^1.6
- yiisoft/db-sqlite: ^2.0
- yiisoft/di: *
- yiisoft/router-fastroute: ^4.0
This package is auto-updated.
Last update: 2026-08-14 23:37:02 UTC
README
The optional GDPR data-handling addon for Voyti, the Yii3 user-management extension. It adds self-service data export (JSON download) and account anonymization to Voyti's Privacy hub.
Stats for Nerds
What this is
This package adds the optional half of GDPR handling on top of Voyti core: a self-service JSON data export and account anonymization, both reachable from core's Privacy hub. Mandatory consent collection and hard account deletion live in core itself and are out of scope here.
Requirements
- PHP 8.3+
- yiirocks/voyti
Installation
The package could be installed via composer:
composer require yiirocks/voyti-gdpr
Its routes, controller, and translations are registered automatically through the yiisoft/config plugin, so a host's config merge picks them up.
Documentation
Installation steps, the full configuration reference, and the event hook are all covered at Yii.Rocks.
Testing
# Unit tests composer phpunit # Mutation testing composer infection # Static analysis composer psalm # Code style fixer composer php-cs-fixer