PHPackages                             makynou/data-anonymization - 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. makynou/data-anonymization

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

makynou/data-anonymization
==========================

Anonymize any data in your SQL database

1.1.2(7y ago)04MITPHPPHP &gt;=5.5.0

Since Nov 21Pushed 3y agoCompare

[ Source](https://github.com/Makynou/data-anonymization)[ Packagist](https://packagist.org/packages/makynou/data-anonymization)[ Docs](https://github.com/arrilot/data-anonymization)[ RSS](/packages/makynou-data-anonymization/feed)WikiDiscussions master Synced 1mo ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/96e6f59b96653df88880ca9f083f45da18d654c79b18dcba63787e3dd80c462a/68747470733a2f2f706f7365722e707567782e6f72672f617272696c6f742f646174612d616e6f6e796d697a6174696f6e2f762f737461626c652e737667)](https://packagist.org/packages/arrilot/data-anonymization/)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/bf793feecfaccd9f16fad9faf76a564d70d47f642eb3ff3f8108e7a498d6437b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f617272696c6f742f646174612d616e6f6e796d697a6174696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/arrilot/data-anonymization/)

Data anonymization
==================

[](#data-anonymization)

- This simple framework-agnostic package helps you to replace any sensitive production data in your development databases.

Installation
------------

[](#installation)

If you use anything from this list, you'd better install a corresponding bridge package

- \[Laravel\] ()

Otherwise just `composer require makynou/data-anonymization`

Usage
-----

[](#usage)

Workflow:

1. Create a php executable.
2. Define how you want to anonymize your data in this file using fluent api (see example below).
3. Make sure it is not accessible throw the web and etc.
4. Run it every time you want.

Here is an example file that illustrates api really well:

```
#!/usr/bin/env php
