https://github.com/baraja-core/personal-data-export
Tool for easy selection and export of user files in ZIP format.
https://github.com/baraja-core/personal-data-export
export file gdpr gdpr-export json personal-data zip
Last synced: 16 days ago
JSON representation
Tool for easy selection and export of user files in ZIP format.
- Host: GitHub
- URL: https://github.com/baraja-core/personal-data-export
- Owner: baraja-core
- License: mit
- Created: 2021-10-18T09:16:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T13:38:35.000Z (over 3 years ago)
- Last Synced: 2025-03-05T09:46:21.968Z (about 1 year ago)
- Topics: export, file, gdpr, gdpr-export, json, personal-data, zip
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Personal data export
====================
Idea
----
Tool for easy selection and export of user files in ZIP format.
Within a single selector, you choose all user data (much of the data can also be created dynamically based on direct input), which is automatically converted into the specified directory structure and offers the file for download.
This tool is fully compliant with GDPR requirements.
How to use
----------
Simply select data and run export:
```php
$selection = (new PersonalDataSelection)
->addJson('foo.json', ['a' => 1, 'b' => 36])
->addJson('dir/file.json', ['message' => 'My content...'])
->addText('readme.md', 'Welcome to export!')
->addFile(__FILE__);
$selection->export();
```