PHPackages                             magenizr/magento2-faker - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. magenizr/magento2-faker

ActiveMagento2-module[Testing &amp; Quality](/categories/testing)

magenizr/magento2-faker
=======================

Create customer accounts for your developer and testing team, including a password, billing and shipping address. Waste no more time with creating test accounts over and over again, especially on multi-store environments.

1.0.0(4y ago)219OSL-3.0PHP

Since Jun 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/magenizr/Magenizr_Faker)[ Packagist](https://packagist.org/packages/magenizr/magento2-faker)[ RSS](/packages/magenizr-magento2-faker/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Faker
=====

[](#faker)

Create customer accounts for your developer and testing team, including a password, billing and shipping address. Faker will provide you the login credentials right away, so that your team can start using the customer accounts.

Waste no more time with creating test accounts over and over again, especially on multi-store environments.

[![Magenizr Faker - Cli](https://camo.githubusercontent.com/ac1c7a34b018384fdced1678adaec475584dd7fe205eec4416767ea967d50495/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f65322f39322f62534c586d73506a5f6f2e676966)](https://camo.githubusercontent.com/ac1c7a34b018384fdced1678adaec475584dd7fe205eec4416767ea967d50495/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f65322f39322f62534c586d73506a5f6f2e676966)[![Magenizr Faker - Frontend/Backend](https://camo.githubusercontent.com/45cf2657fcb709d69e6afd526a00481be67f0a4f9d84bb23555c98be53987a1d/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f30362f39622f7868356e686f66715f6f2e676966)](https://camo.githubusercontent.com/45cf2657fcb709d69e6afd526a00481be67f0a4f9d84bb23555c98be53987a1d/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f30362f39622f7868356e686f66715f6f2e676966)

Features
--------

[](#features)

- Create customers including shipping and billing address based on provided CSV file
- Delete customers ( including test orders ) once you are done with testing
- Use a custom CSV file with your login credentials, shipping details for your team. Copy the file from `Data/customers.csv` and use it as a template.

Usage
-----

[](#usage)

Simply go to `Stores > Configuration > Advanced > Developer > Faker` and enable the module. Enter the path of your CSV file ( relatively from your document root ) or leave it blank to use the sample CSV file that comes with the module.

The following options are available.

- `--action create|delete` ( Default: create )
- `--limit` ( Default: 5 )
- `--columns first_name,last_name,email etc.` ( Default: first\_name,last\_name,email )
- `--filter email=%hotmail.com`

For example:

```
bash-4.4# php bin/magento faker:account:create --limit 15 --columns "first_name,last_name,address>street,address>country_id,address>city,address>region,address>region_id,address>postcode,address>telephone,email,optional>password,website_id,group_id,store_id"
+---------+------------+------------+-----------------------+--------------------+-----------------+----------------+-------------------+------------------+-------------------+----------------------------------+-------------------+------------+----------+----------+
| Action  | first_name | last_name  | address>street        | address>country_id | address>city    | address>region | address>region_id | address>postcode | address>telephone | email                            | optional>password | website_id | group_id | store_id |
+---------+------------+------------+-----------------------+--------------------+-----------------+----------------+-------------------+------------------+-------------------+----------------------------------+-------------------+------------+----------+----------+
| Updated | Rebbecca   | Didio      | 171 E 24th St         | AU                 | Leith           |                | TAS               | 7315             | 0458-665-290      | rebbecca.didio@didio.com.au      | 4WsJ2FZqUr        | 1          | 1        | 1        |
| Updated | Stevie     | Hallo      | 22222 Acoma St        | AU                 | Proston         |                | QLD               | 4613             | 0497-622-620      | stevie.hallo@hotmail.com         | 2FKjDO7xKp        | 1          | 1        | 1        |
| Updated | Mariko     | Stayer     | 534 Schoenborn St #51 | AU                 | Hamel           |                | WA                | 6215             | 0427-885-282      | mariko_stayer@hotmail.com        | aFa5cbJGXw        | 1          | 1        | 1        |
| Updated | Gerardo    | Woodka     | 69206 Jackson Ave     | AU                 | Talmalmo        |                | NSW               | 2640             | 0443-795-912      | gerardo_woodka@hotmail.com       | tJNnMv8qfn        | 1          | 1        | 1        |
| Updated | Mayra      | Bena       | 808 Glen Cove Ave     | AU                 | Lane Cove       |                | NSW               | 1595             | 0453-666-885      | mayra.bena@gmail.com             | EhWeZligdW        | 1          | 1        | 1        |
...
| Created | Amira      | Chudej     | 3684 N Wacker Dr      | AU                 | Rockside        |                | QLD               | 4343             | 0478-867-289      | amira.chudej@chudej.net.au       | f9CmgSDtok        | 1          | 1        | 1        |
| Created | Marica     | Tarbor     | 68828 S 32nd St #6    | AU                 | Rosegarland     |                | TAS               | 7140             | 0494-982-617      | marica.tarbor@hotmail.com        | yEuRwixDX2        | 1          | 1        | 1        |
| Created | Shawna     | Albrough   | 43157 Cypress St      | AU                 | Ringwood        |                | QLD               | 4343             | 0441-255-802      | shawna.albrough@albrough.com.au  | NhNjKYpGsq        | 1          | 1        | 1        |
| Created | Paulina    | Maker      | 6 S Hanover Ave       | AU                 | Maylands        |                | WA                | 6931             | 0420-123-282      | paulina_maker@maker.net.au       | DrSNms5jjK        | 1          | 1        | 1        |
| Created | Rose       | Jebb       | 27916 Tarrytown Rd    | AU                 | Wooloowin       |                | QLD               | 4030             | 0496-441-929      | rose@jebb.net.au                 | uAZYMDP3uX        | 1          | 1        | 1        |
+---------+------------+------------+-----------------------+--------------------+-----------------+----------------+---------- Result: 15 ----------------+-------------------+----------------------------------+-------------------+------------+----------+----------+
bash-4.4#

```

```
bash-4.4# php bin/magento faker:account:create --filter "address>country_id=CA" --columns "email,optional>password,address>street,address>country_id,address>city,address>region,address>region_id,address>postcode"
+---------+-------------------------+--------------------+-------------------+----------------+-------------------+------------------+-------------------------------------------+-------------------+
| Action  | address>street          | address>country_id | address>city      | address>region | address>region_id | address>postcode | email                                     | optional>password |
+---------+-------------------------+--------------------+-------------------+----------------+-------------------+------------------+-------------------------------------------+-------------------+
| Created | 2335 Canton Hwy #6      | CA                 | Windsor           |                | ON                | N8N 3N2          | francoise.rautenstrauch@rautenstrauch.com | ZmPrR1T6J3        |
| Created | 6 Arch St #9757         | CA                 | Alcida            |                | NB                | E8J 2C4          | kloud@gmail.com                           | VqJ3VK90Pq        |
| Created | 9547 Belmont Rd #21     | CA                 | Belleville        |                | ON                | K8P 1B3          | lourdes_bauswell@aol.com                  | meTgNQjg85        |
| Created | 73 Pittsford Victor Rd  | CA                 | Vancouver         |                | BC                | V5Z 3K2          | hannah@yahoo.com                          | 5QkOdSf5Nk        |
| Created | 447 Commercial St Se    | CA                 | LIle-Perrot       |                | QC                | J7V 4T4          | tom.loeza@gmail.com                       | oUSaPAKYFh        |
...
| Created | 1534 Sidco Dr           | CA                 | Leduc             |                | AB                | T9E 5A6          | wlablanc@yahoo.com                        | VGJE3GmwsL        |
| Created | 4207 Leon Rd            | CA                 | North Vancouver   |                | BC                | V7L 3X6          | lauryn@yahoo.com                          | yIlZevwQiR        |
| Created | 7564 N Academy Ave      | CA                 | London            |                | ON                | N6A 1S5          | laurena.begin@begin.com                   | L9gsyVs9Z3        |
| Created | 88 E Saint Elmo Rd      | CA                 | Hamilton          |                | ON                | L8R 3J3          | elise@gmail.com                           | JgvfzVwfNw        |
| Created | 75 Westchester Ave      | CA                 | Pierrefonds       |                | QC                | H9J 1W6          | corrie_kardell@aol.com                    | GNNsrR4o6n        |
+---------+-------------------------+--------------------+-------------------+--------------- Result: 29 ---------+------------------+-------------------------------------------+-------------------+
bash-4.4#

```

System Requirements
-------------------

[](#system-requirements)

- Magento 2.3.x, 2.4.x
- PHP 5.6.x, 7.x

Installation (Composer)
-----------------------

[](#installation-composer)

1. Update your composer.json `composer require "magenizr/magento2-faker":"1.0.0" --no-update`
2. Install dependencies and update your composer.lock `composer update --lock`

```
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing magenizr/magento2-faker (1.0.0): Downloading (100%)
Writing lock file
Generating autoload files

```

3. Enable the module and clear static content.

```
php bin/magento module:enable Magenizr_Faker --clear-static-content
php bin/magento setup:upgrade

```

Installation (Manually)
-----------------------

[](#installation-manually)

1. Download the code.
2. Extract the downloaded tar.gz file. Example: `tar -xzf Magenizr_Faker_1.0.0.tar.gz`.
3. Copy the code into `./app/code/Magenizr/Faker/`.
4. Enable the module and clear static content.

```
php bin/magento module:enable Magenizr_Faker --clear-static-content
php bin/magento setup:upgrade

```

Support
-------

[](#support)

If you experience any issues, don't hesitate to open an issue on [Github](https://github.com/magenizr/Magenizr_Faker/issues) or email us at .

Purchase
--------

[](#purchase)

This module is available for free on [GitHub](https://github.com/magenizr). Feel free to support us on [Patreon](https://patreon.com/magenizr). Reach us out at  if you need a database with up to 1 million fake customer accounts and addresses for test purposes.

Contact
-------

[](#contact)

Follow us on [GitHub](https://github.com/magenizr), [Twitter](https://twitter.com/magenizr) and [Facebook](https://www.facebook.com/magenizr).

History
-------

[](#history)

===== 1.0.0 =====

- First release

Roadmap
-------

[](#roadmap)

- Set custom CSV file via CLI ( e.g `--file path/to/file.csv` )
- Signup for newsletter

License
-------

[](#license)

[OSL - Open Software Licence 3.0](https://opensource.org/licenses/osl-3.0.php)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1791d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/605a729e99c0436f040a96767ee730868d660203396a8666a521fb77f5d93bd2?d=identicon)[magenizr](/maintainers/magenizr)

---

Top Contributors

[![magenizr](https://avatars.githubusercontent.com/u/36174840?v=4)](https://github.com/magenizr "magenizr (1 commits)")

---

Tags

datafakemagento 2customer

### Embed Badge

![Health badge](/badges/magenizr-magento2-faker/health.svg)

```
[![Health](https://phpackages.com/badges/magenizr-magento2-faker/health.svg)](https://phpackages.com/packages/magenizr-magento2-faker)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[nelmio/alice

Expressive fixtures generator

2.5k43.4M133](/packages/nelmio-alice)[fgribreau/mailchecker

Temporary (disposable/throwaway) email detection library. Covers 1987 fake email providers.

1.9k662.6k4](/packages/fgribreau-mailchecker)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M56](/packages/timacdonald-log-fake)[fakerino/fakerino

Faker framework, for generate every kind of fake data for test, database seed, mock responses, other

12214.8k5](/packages/fakerino-fakerino)[icecave/isolator

Dependency injection for global functions.

371.3M29](/packages/icecave-isolator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
