PHPackages                             n3xt0r/mysql-data-anonymizer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. n3xt0r/mysql-data-anonymizer

ActiveLibrary[Database &amp; ORM](/categories/database)

n3xt0r/mysql-data-anonymizer
============================

Anonymize sensitive datas in test database

1.1.6(5y ago)0811PHPPHP &gt;=7.2

Since Jan 25Pushed 5y agoCompare

[ Source](https://github.com/N3XT0R/mysql-data-anonymizer)[ Packagist](https://packagist.org/packages/n3xt0r/mysql-data-anonymizer)[ RSS](/packages/n3xt0r-mysql-data-anonymizer/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (16)Used By (0)

MySQL Data Anonymizer
=====================

[](#mysql-data-anonymizer)

MySQL Data Anonymizer is a PHP library that anonymize your data in the database. Always use the production database to test your programs, but worry about leaking cutomer data? MySQL Data Anonymizer is the right tool for you. This tool helps you replace all sensitive data with fake data. Fake data is provided by a [fzaninotto/Faker](https://github.com/fzaninotto/Faker) generator by default, but you can also use your own generator. To improve the performance, [AMP/MySQL](https://github.com/amphp/mysql) is used to create multiple MySQL connections concurrently.

MySQL Data Anonymizer requires PHP &gt;= 7.2.

Table of Contents
=================

[](#table-of-contents)

- [Configuration](#configuration)
- [Example code](#example-code)
- [Helpers and providers](#helpers-and-providers)

Configuration
-------------

[](#configuration)

Rename the config-sample.php file to config.php and modify the configurations to suit your environment.

```
