{"id":36978719,"url":"https://github.com/flurrybox/enhanced-privacy","last_synced_at":"2026-01-13T22:48:15.233Z","repository":{"id":62505880,"uuid":"128749514","full_name":"flurrybox/enhanced-privacy","owner":"flurrybox","description":"Magento 2 Enhanced Privacy extension for easier compliance with GDPR. Allows customers to delete, anonymize, or export their personal data.","archived":false,"fork":false,"pushed_at":"2019-08-15T09:51:09.000Z","size":97,"stargazers_count":43,"open_issues_count":7,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-12T03:21:50.755Z","etag":null,"topics":["gdpr","magento2","magento2-extension","magento2-module","privacy"],"latest_commit_sha":null,"homepage":"https://flurrybox.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flurrybox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-09T09:44:17.000Z","updated_at":"2025-04-04T03:31:36.000Z","dependencies_parsed_at":"2022-11-02T12:45:40.260Z","dependency_job_id":null,"html_url":"https://github.com/flurrybox/enhanced-privacy","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/flurrybox/enhanced-privacy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flurrybox%2Fenhanced-privacy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flurrybox%2Fenhanced-privacy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flurrybox%2Fenhanced-privacy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flurrybox%2Fenhanced-privacy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flurrybox","download_url":"https://codeload.github.com/flurrybox/enhanced-privacy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flurrybox%2Fenhanced-privacy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28403742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gdpr","magento2","magento2-extension","magento2-module","privacy"],"created_at":"2026-01-13T22:48:14.457Z","updated_at":"2026-01-13T22:48:15.224Z","avatar_url":"https://github.com/flurrybox.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enhanced Privacy extension for Magento 2\n\nExtension provides easier compliance with GDPR. Allows customers to delete, anonymize, or export their personal data.\nView detailed information on [store page](https://flurrybox.com/enhanced-privacy.html).\n\n## Getting Started\n\n### Prerequisites\n\nMagento 2 Open Source (CE) or Commerce edition (EE).\nSupported versions: Magento 2.1.6+, 2.2.x\n\n### Installation\n\n#### Composer (recommended)\n\nCommands should be run at the root of your Magento 2 installation.\n```\ncomposer require flurrybox/enhanced-privacy\nphp bin/magento module:enable Flurrybox_EnhancedPrivacy\nphp bin/magento setup:upgrade\nphp bin/magento setup:di:compile\nphp bin/magento setup:static-content:deploy\n```\n\n#### Copy package files\n\n- Download repository files as ZIP archive\n- Extract files to the `app/code/Flurrybox/EnhancedPrivacy` directory\n- Run the following commands in Magento 2 root folder:\n    ```\n    php bin/magento module:enable Flurrybox_EnhancedPrivacy\n    php bin/magento setup:upgrade\n    php bin/magento setup:di:compile\n    php bin/magento setup:static-content:deploy\n    ```\n\n### Usage and Features\n\n* Configuration for this module is located in 'Stores \u003e Configuration \u003e Customers \u003e Customer Configuration \u003e Privacy (GDPR)'.\n* Account deletion, anonymization, and export can be done in 'My Account \u003e Privacy Settings'.\n* Customers can export their data in .zip archive containing .csv files with personal, wishlist, quote, and address data.\n* Customer can delete or anonymize their account. Current password and reason is required. Account will be deleted within 1 hour (or as specified in configuration), in this time span its possible for customers to undo deletion.\n* If customer has made at least one order, they are ineligible to delete their account, instead it will be anonymized.\n* When a customer visits your store for the first time, a popup notification about cookie policy will be shown.\n\n### Export data\nBesides default export entites its possible to implement your own custom data export.\nWhen customers will make a request for their personal data export, your class instance will be executed by data export processor and will add new file to data archive.\n\n1. Create a new class implementing `Flurrybox\\EnhancedPrivacy\\Api\\DataExportInterface` interface.\n    ```php\n    \u003c?php\n\n    declare(strict_types=1);\n\n    namespace Vendor\\Module\\Privacy\\Export;\n    \n    use Flurrybox\\EnhancedPrivacy\\Api\\DataExportInterface;\n    use Magento\\Customer\\Api\\Data\\CustomerInterface;\n    \n    class Entity implements DataExportInterface\n    {\n        /**\n         * Executed upon exporting customer data.\n         *\n         * Expected return structure:\n         *      array(\n         *          array('HEADER1', 'HEADER2', 'HEADER3', ...),\n         *          array('VALUE1', 'VALUE2', 'VALUE3', ...),\n         *          ...\n         *      )\n         *\n         * @param \\Magento\\Customer\\Api\\Data\\CustomerInterface $customer\n         *\n         * @return array\n         */\n        public function export(CustomerInterface $customer)\n        {\n            ...\n        }\n    }\n    ```\n2. Register export class in `etc/di.xml`\n    ```xml\n    \u003c?xml version=\"1.0\"?\u003e\n    \u003cconfig xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n            xsi:noNamespaceSchemaLocation=\"urn:magento:framework:ObjectManager/etc/config.xsd\"\u003e\n        ...\n        \u003ctype name=\"Flurrybox\\EnhancedPrivacy\\Api\\ProcessorsInterface\"\u003e\n            \u003carguments\u003e\n                ...\n                \u003cargument name=\"exportProcessors\" xsi:type=\"array\"\u003e\n                    ...\n                    \u003citem name=\"entity\" xsi:type=\"object\"\u003eVendor\\Module\\Privacy\\Export\\Entity\u003c/item\u003e\n                    ...\n                \u003c/argument\u003e\n                ...\n            \u003c/arguments\u003e\n        \u003c/type\u003e\n        ...\n    \u003c/config\u003e\n    ```\n\n### Delete and anonymize data\nTo delete or anonymize data that's gathered by 3rd party integrations you can implement your own data processor.\n\n1. Create a new class implementing `Flurrybox\\EnhancedPrivacy\\Api\\DataDeleteInterface` interface.\n    ```php\n    \u003c?php\n    \n    declare(strict_types=1);\n    \n    namespace Vendor\\Module\\Privacy\\Delete;\n    \n    use Flurrybox\\EnhancedPrivacy\\Api\\DataDeleteInterface;\n    use Magento\\Customer\\Api\\Data\\CustomerInterface;\n    \n    class Entity implements DataDeleteInterface\n    {\n        /**\n         * Executed upon customer data deletion.\n         *\n         * @param \\Magento\\Customer\\Api\\Data\\CustomerInterface $customer\n         *\n         * @return void\n         */\n        public function delete(CustomerInterface $customer)\n        {\n            ...\n        }\n        \n        /**\n         * Executed upon customer data anonymization.\n         *\n         * @param \\Magento\\Customer\\Api\\Data\\CustomerInterface $customer\n         *\n         * @return void\n         */\n        public function anonymize(CustomerInterface $customer)\n        {\n            ...\n        }\n    }\n    ```\n2. Register processor class in `etc/di.xml`\n    ```xml\n    \u003c?xml version=\"1.0\"?\u003e\n    \u003cconfig xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n            xsi:noNamespaceSchemaLocation=\"urn:magento:framework:ObjectManager/etc/config.xsd\"\u003e\n        ...\n        \u003ctype name=\"Flurrybox\\EnhancedPrivacy\\Api\\ProcessorsInterface\"\u003e\n            \u003carguments\u003e\n                \u003cargument name=\"deleteProcessors\" xsi:type=\"array\"\u003e\n                    ...\n                    \u003citem name=\"entity\" xsi:type=\"object\"\u003eVendor\\Module\\Privacy\\Delete\\Entity\u003c/item\u003e\n                    ...\n                \u003c/argument\u003e\n            \u003c/arguments\u003e\n        \u003c/type\u003e\n        ...\n    \u003c/config\u003e\n    ```\n\n## Copyrights and License\n\nCopyright (c) 2018 Flurrybox, Ltd. under GNU General Public License (\"GPL\") v3.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflurrybox%2Fenhanced-privacy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflurrybox%2Fenhanced-privacy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflurrybox%2Fenhanced-privacy/lists"}