-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Additional person and company Faker attributes (#35)
- Loading branch information
Showing
2 changed files
with
57 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,33 +137,38 @@ Supposing you have a WordPress database and you need to modify certain meta, be | |
|
||
Each column stores a certain type of data, be it a name, username, email, etc. The `type` property in the config is used to define the type of data stored, and ultimately the type of random data to be inserted into the field. [https://github.com/dmgk/faker](https://github.com/dmgk/faker) is used for generating the fake data. These are the types currently supported: | ||
|
||
| Type | Example output | | ||
|------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `username` | `micah_pfeffer` | | ||
| `password` | `5ccf672d5c73748146be6b37568efa57` | | ||
| `email` | `[email protected]` | | ||
| `url` | `http://sporerhamill.net/kyla.schmitt` | | ||
| `name` | `Natasha Hartmann` | | ||
| `firstName` | `Carolina` | | ||
| `lastName` | `Kohler` | | ||
| `phoneNumber` | `+49-131-0003060` | | ||
| `billingAddressFull` | `Carolina Kohler 6071 Heaney Island Suite 553, Ebbaville Texas 37307 JP +49-131-0003060 [email protected]` | | ||
| `addressFull` | `6071 Heaney Island Suite 553, Ebbaville Texas 37307` | | ||
| `addressStreet` | `"586 Sylvester Turnpike"` | | ||
| `addressCity` | `North Dessie` | | ||
| `addressPostCode` | `31340` | | ||
| `addressCountry` | `Uruguay` | | ||
| `addressCountryCode` | `JP` | | ||
| `paragraph` | `Lorem ipsum dolor sit amet, fabulas nostrum recteque vel ea, sit ut nemore similique. Ad per dicam molestie, nostro constituto duo ad. Ex scripta impedit cum, vidisse feugiat vivendum cum ad, liber senserit mediocrem pro.` | | ||
| `shortString` | `wqFyJIrXYfVP7cLwqFyJIrXYfVP7cL` | | ||
| `ipv4` | `121.204.82.227` | | ||
| `companyName` | `Aufderhar LLC` | | ||
| `companyNumber` | `123456789` | | ||
| `creditCardNumber` | `1234-2121-1221-1211` | | ||
| `creditCardExpiryDate` | `2015-11-11` | | ||
| `creditCardType` | `mastercard` | | ||
| `norwegianSSN` | `07026765743` | | ||
| `purge` | | | ||
| Type | Example output | | ||
|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `username` | `micah_pfeffer` | | ||
| `password` | `5ccf672d5c73748146be6b37568efa57` | | ||
| `email` | `[email protected]` | | ||
| `url` | `http://sporerhamill.net/kyla.schmitt` | | ||
| `name` | `Natasha Hartmann` | | ||
| `firstName` | `Carolina` | | ||
| `lastName` | `Kohler` | | ||
| `personPrefix` | `Dr.` | | ||
| `personTitle` | `Chief Functionality Orchestrator` | | ||
| `phoneNumber` | `+49-131-0003060` | | ||
| `billingAddressFull` | `Carolina Kohler 6071 Heaney Island Suite 553, Ebbaville Texas 37307 JP +49-131-0003060 [email protected]` | | ||
| `addressFull` | `6071 Heaney Island Suite 553, Ebbaville Texas 37307` | | ||
| `addressStreet` | `"586 Sylvester Turnpike"` | | ||
| `addressSecondary` | `Apt. 411` | | ||
| `addressCity` | `North Dessie` | | ||
| `addressState` | `Maryland` | | ||
| `addressPostCode` | `31340` | | ||
| `addressCountry` | `Uruguay` | | ||
| `addressCountryCode` | `JP` | | ||
| `paragraph` | `Lorem ipsum dolor sit amet, fabulas nostrum recteque vel ea, sit ut nemore similique. Ad per dicam molestie, nostro constituto duo ad. Ex scripta impedit cum, vidisse feugiat vivendum cum ad, liber senserit mediocrem pro.` | | ||
| `shortString` | `wqFyJIrXYfVP7cLwqFyJIrXYfVP7cL` | | ||
| `ipv4` | `121.204.82.227` | | ||
| `companyName` | `Aufderhar LLC` | | ||
| `companySuffix` | `Inc` | | ||
| `companyNumber` | `123456789` | | ||
| `creditCardNumber` | `1234-2121-1221-1211` | | ||
| `creditCardExpiryDate` | `2015-11-11` | | ||
| `creditCardType` | `mastercard` | | ||
| `norwegianSSN` | `07026765743` | | ||
| `purge` | | | ||
|
||
If you need another type, please feel free to add support and file a PR! | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters