baraja-core / personal-data-export
There is no license information available for the latest version (v1.0.1) of this package.
Tool for easy selection and export of user files in ZIP format.
v1.0.1
2022-03-21 12:16 UTC
Requires
- php: ^8.0
- nette/utils: ^3.0
Requires (Dev)
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.0
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-nette: ^1.0
- phpstan/phpstan-strict-rules: ^1.0
- roave/security-advisories: dev-master
- spaze/phpstan-disallowed-calls: ^2.0
This package is auto-updated.
Last update: 2024-12-08 18:06:03 UTC
README
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:
$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();