{"repo":"sander3/laravel-gdpr","free":true,"listed":false,"github":"https://github.com/sander3/laravel-gdpr","clone":"git clone https://github.com/sander3/laravel-gdpr.git","description":"GDPR compliance with ease.","language":"PHP","stars":300,"topics":["laravel","gdpr","data-portability","soved","data-retention","encryption"],"license":"MIT","category":"security-tools","readme_excerpt":"GDPR compliance with ease 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 and a strategy to clean up inactive users as required by GDPR article 5e. Buy me a coffee ☕️ Requirements - PHP 7.0 or higher - Laravel 5.5+ (6.0, 7.0, 8.0) Installation First, install the package via the Composer package manager: After installing the package, you should publish the configuration file: Finally, add the Soved\\Laravel\\Gdpr\\Portable trait to the App\\User model and implement the Soved\\Laravel\\Gdpr\\Contracts\\Portable contract: Configuration Configuring Portable Data By default, the entire toArray form of the App\\User model will be made available for download. If you would like to customize the downloadable data, you may override the toPortableArray() method on the model: Lazy Eager Loading Relationships You may need to include a relationship in the data that will be made available for download. To do so, add a $gdprWith property to your App\\User model: Hiding Attributes You may wish to limit the attributes, such as passwords, that are included in the downloadable data. To do so, add a $gdprHidden property to your App\\User model: Alternatively, you may use the $gdprVisible property to define a white-list of attributes that should be included in the data that will be made available for download. All other attributes will be hidden when the model is conv","default_branch":null,"files":null,"tree":[],"storefront":"/r/sander3","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sander3/laravel-gdpr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}