PHPackages                             skyraptor/laravel-gdpr - 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. [Security](/categories/security)
4. /
5. skyraptor/laravel-gdpr

ActiveLibrary[Security](/categories/security)

skyraptor/laravel-gdpr
======================

GDPR compliance with ease

1.5.5(5y ago)04MITPHPPHP &gt;=7.0.0

Since May 5Pushed 5y agoCompare

[ Source](https://github.com/bumbummen99/laravel-gdpr)[ Packagist](https://packagist.org/packages/skyraptor/laravel-gdpr)[ RSS](/packages/skyraptor-laravel-gdpr/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (14)Used By (0)

GDPR compliance with ease
=========================

[](#gdpr-compliance-with-ease)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/74501a46097d3990858186e7186cfca54f142ee8b44de8372654518a68aeeaf2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616e646572332f6c61726176656c2d676470722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sander3/laravel-gdpr/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/909e6dd08599c1c43e01ac55d124e509deac3f6103cce49b831a673731eb4ddd/68747470733a2f2f706f7365722e707567782e6f72672f736f7665642f6c61726176656c2d676470722f762f737461626c65)](https://packagist.org/packages/soved/laravel-gdpr)[![Monthly Downloads](https://camo.githubusercontent.com/ad33fb6cdc449a4a265285d9fa197a6a5398997e4c043daf4bb66e65347f4f02/68747470733a2f2f706f7365722e707567782e6f72672f736f7665642f6c61726176656c2d676470722f642f6d6f6e74686c79)](https://packagist.org/packages/soved/laravel-gdpr)[![License](https://camo.githubusercontent.com/b2823909771f11e07f8a3026b2b526fadd4ed06bb0b9be6b9adf917ab57b413f/68747470733a2f2f706f7365722e707567782e6f72672f736f7665642f6c61726176656c2d676470722f6c6963656e7365)](https://packagist.org/packages/soved/laravel-gdpr)

This package exposes an endpoint where authenticated users can download their data as required by GDPR article 20. This package also provides you with a trait to easily [encrypt personal data](#encryption) and a strategy to [clean up inactive users](#data-retention) as required by GDPR article 5e.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0.0
- Laravel &gt;= 5.5 or 6.0

Installation
------------

[](#installation)

First, install the package via the Composer package manager:

```
$ composer require soved/laravel-gdpr
```

After installing the package, you should publish the configuration file:

```
$ php artisan vendor:publish --tag=gdpr-config
```

Finally, add the `Soved\Laravel\Gdpr\Portable` trait to the `App\User` model and implement the `Soved\Laravel\Gdpr\Contracts\Portable` contract:

```
