PHPackages                             superbrave/gdpr-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. superbrave/gdpr-bundle

ActiveSymfony-bundle[Validation &amp; Sanitization](/categories/validation)

superbrave/gdpr-bundle
======================

A Symfony bundle for using entity annotations according to GDPR requirements and anonymizing/exporting data

v2.2.1(6y ago)1120.0k↓17.5%2[11 PRs](https://github.com/superbrave/gdpr-bundle/pulls)MITPHPPHP &gt;=7.2.0

Since May 3Pushed 4y ago2 watchersCompare

[ Source](https://github.com/superbrave/gdpr-bundle)[ Packagist](https://packagist.org/packages/superbrave/gdpr-bundle)[ Docs](https://www.superbrave.nl)[ RSS](/packages/superbrave-gdpr-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (26)Used By (0)

gdpr-bundle
===========

[](#gdpr-bundle)

A Symfony bundle for using entity annotations according to GDPR requirements and anonymizing/exporting data

[![Build Status](https://camo.githubusercontent.com/6585c724823ab4032833ffa7fc78868e1dcdac99402a663a2824dd97ee7c65a4/68747470733a2f2f7472617669732d63692e6f72672f737570657262726176652f676470722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/superbrave/gdpr-bundle)[![Total Downloads](https://camo.githubusercontent.com/665c88cf8f1636e167584347510b1bc7e7c3ff87fbadc262332739f7ad54ccd2/68747470733a2f2f706f7365722e707567782e6f72672f737570657262726176652f676470722d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/superbrave/gdpr-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/a07d518679781ea94d4a75c2e7fb2a963288e54ef92dc61ac477d94f3f336eef/68747470733a2f2f706f7365722e707567782e6f72672f737570657262726176652f676470722d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/superbrave/gdpr-bundle)

Overview
--------

[](#overview)

- Provides an annotation for anonymizing objects based on specific anonymization types. You can create your own anonynimization types, you can read more on how in: [Registering new anonymizers](Resources/doc/anonymizer.md#registering-new-anonymizers)
- Provides an annotation for exporting object data to a specific format.

Setup
-----

[](#setup)

### Installation

[](#installation)

Using this package is similar to all Symfony bundles.

#### Step 1.

[](#step-1)

Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:

```
$ composer require superbrave/gdpr-bundle

```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

#### Step 2.

[](#step-2)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
