Download the PHP package addeos/anonymize without Composer
On this page you can find all versions of the php package addeos/anonymize. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package anonymize
Addeos Anonymize Extension User Guide
A magento 2 module that let you anonymize the private data that are present in your MySql database using a specific CLI command.
Table of Contents
- Introduction
- Installation
- Enabling the extension
- Configuration
- CLI command
- List of tables anonymized
- Running in developer mode
- Running in Force mode (production)
- Troubleshooting
- Support and contact
Introduction
The Addeos Anonymize Extension is designed to help Magento store owners comply with GDPR regulations by providing a simple and efficient way to anonymize sensitive customer data on local environments. This extension ensures that personal information in specified database tables is anonymized, making it suitable for development and testing environments.
Installation
To install the Addeos Anonymize Extension, follow these steps:
Enabling the Extension
After installation, enable the extension using the following command:
Configuration
A new configuration section Addeos
> Anonymize
is visible in BO.
In that section, you will find a few fields that will allow you to define which tables and which tables will be anonymized.
Some default values are set.
The tables that will be anonymized can be configured.
All different types of columns that will be anonymized can be configured.
The generic strings type columns : The phone columns : The password type columns : The email type columns : The IP type columns :
CLI Command
Once the extension is enabled, a new CLI command becomes available:
Use this command to initiate the anonymization process.
List of Tables Anonymized
The Addeos Anonymize Extension anonymizes data in the following database tables:
- customer_entity
- customer_address_entity
- customer_grid_flat
- email_contact
- newsletter_subscriber
- paradoxlabs_stored_card
- quote
- quote_address
- sales_creditmemo_grid
- sales_invoice_grid
- sales_order
- sales_order_address
- sales_order_grid
- sales_shipment_grid
- stripe_customers
Ensure that you have a backup of your data before running the anonymization process.
Running in Developer Mode
The extension can only be executed on a Magento installation in developer mode. Ensure that your Magento environment is set to developer mode before running the anonymization command.
Logs are available in a log file named addeos-anonymize.log.
Running in Force Mode (Production)
In a production environment, you can run the extension in force mode by adding the -f or --force parameter to the command:
Note: Exercise caution when using force mode on a production Magento installation, and always have a backup of your data.
Troubleshooting
If you encounter any issues during installation or usage, consider the following troubleshooting steps:
- Check the Magento logs for error messages.
- Ensure that the extension is properly enabled using the `php bin/magento module:status command.
- Verify that the CLI command syntax is correct.
Support and Contact
For any further assistance, reach out to our support team at [email protected]. We are here to help you with any questions or concerns regarding the Addeos Anonymize Extension.
Thank you for choosing Addeos to enhance your Magento experience!