Complete reference for Faker methods, parameters, and usage examples.
Faker Method Reference
This page documents the faker methods available in Faker Forge data generation.
For each method, you get:
- What it does
- Parameters (type, description, and example where available)
- When to use it in realistic data generation
Complete Method Catalog
This catalog is generated from FakerPHP plus your additional providers. Each method includes a description, parameter guidance, and when to use it during data generation mapping.
address
| Field | Details |
|---|
| What it does | Full street address (e.g., "123 Main St") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
agency
| Field | Details |
|---|
| What it does | Space agency name (e.g. Japan Aerospace Exploration Agency) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
agencyAbv
| Field | Details |
|---|
| What it does | Space agency abbreviation (e.g. NASA) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
amPm
| Field | Details |
|---|
| What it does | AM or PM (e.g., "AM") |
| Parameters | - max (string|DateTime): The latest time that can be returned. Example:
now
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
areaCode
| Field | Details |
|---|
| What it does | Phone area code (e.g., "555") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
asciify
| Field | Details |
|---|
| What it does | Replace asterisks with random ASCII letters (e.g., "aB3") |
| Parameters | - string (string): A string with * symbols that will be replaced by ASCII characters. Example:
Hello ***
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
avatar
| Field | Details |
|---|
| What it does | Generates a RoboHash avatar URL (e.g. https://robohash.org/foo.png?size=300x300&set=set1) |
| Parameters | - text (string|null): Custom text used to generate the avatar. Example:
foo - size (string): Image size in WIDTHxHEIGHT format. Example:
300x300 - format (string): Image extension/format. Example:
jpg - set (string): RoboHash set identifier. Example:
set2 - bgset (string): Background set identifier. Example:
bg2
|
| When to use | Use this for profile media, gallery placeholders, and product thumbnail fields. |
bankAccountNumber
| Field | Details |
|---|
| What it does | Fake bank account number (e.g., "1234567890") |
| Parameters | No parameters. |
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
bankRoutingNumber
| Field | Details |
|---|
| What it does | US bank routing number (e.g., "123456789") |
| Parameters | No parameters. |
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
biasedNumberBetween
| Field | Details |
|---|
| What it does | Biased random number in range (e.g., 42) |
| Parameters | - min (int): The lowest value to return. Example:
10 - max (int): The highest value to return. Example:
20 - function (callable|string): The function to use for biasing the results. Example:
Faker\Provider\Biased::linearHigh
|
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
bird
| Field | Details |
|---|
| What it does | Random fictional bird species (e.g. Rostratula subis) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
bloodGroup
| Field | Details |
|---|
| What it does | Blood group (e.g., "A+") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
bloodRh
| Field | Details |
|---|
| What it does | Blood Rh factor (e.g., "+") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
bloodType
| Field | Details |
|---|
| What it does | Blood type letter (e.g., "A") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
boolean
| Field | Details |
|---|
| What it does | Generate a random boolean (true/false). Optionally, a float (between 0.0 and 1.0) or an integer (between 0 and 100) can be passed, which changes the chance of getting true. |
| Parameters | - chanceOfGettingTrue (int): The chance (0-100) of getting true. Example:
50
|
| When to use | Use this for flag fields such as is_active, is_verified, and feature toggles. |
bothify
| Field | Details |
|---|
| What it does | Replace ? with letter and # with digit (e.g., "a1B2") |
| Parameters | - string (string): The format string containing # and ? placeholders. Example:
## ??
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
bs
| Field | Details |
|---|
| What it does | Corporate buzzword phrase (e.g., "integrate scalable solutions") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
buildingNumber
| Field | Details |
|---|
| What it does | Building number (e.g., "742") |
| Parameters | No parameters. |
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
calculateRoutingNumberChecksum
| Field | Details |
|---|
| What it does | Checksum for US routing number (e.g., 3) |
| Parameters | |
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
campus
| Field | Details |
|---|
| What it does | Random campus name (e.g. Brighthurst Campus) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
catchPhrase
| Field | Details |
|---|
| What it does | Business catchphrase (e.g., "Robust full-range approach") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
category
| Field | Details |
|---|
| What it does | Generates a product category (e.g. Computers) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
century
| Field | Details |
|---|
| What it does | Historical century (e.g., "XVIII") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
chemicalElement
| Field | Details |
|---|
| What it does | Chemical element name (e.g. Radium) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
chemicalElementSymbol
| Field | Details |
|---|
| What it does | Chemical element symbol (e.g. Fe) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
chrome
| Field | Details |
|---|
| What it does | Chrome user agent string |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
city
| Field | Details |
|---|
| What it does | City name (e.g., "Springfield") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
cityPrefix
| Field | Details |
|---|
| What it does | City prefix (e.g., "North") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
citySuffix
| Field | Details |
|---|
| What it does | City suffix (e.g., "ville") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
colorName
| Field | Details |
|---|
| What it does | Named color (e.g., "red") |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
company
| Field | Details |
|---|
| What it does | Company name (e.g., "Acme Inc") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
companyEmail
| Field | Details |
|---|
| What it does | Company email (e.g., "[email protected]") |
| Parameters | No parameters. |
| When to use | Use this when mapping user, customer, or company email columns that should look realistic. |
companySuffix
| Field | Details |
|---|
| What it does | Company suffix (e.g., "LLC") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
constellation
| Field | Details |
|---|
| What it does | Constellation name (e.g. Ursa Major) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
country
| Field | Details |
|---|
| What it does | Country name (e.g., "United States") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
countryCode
| Field | Details |
|---|
| What it does | 2-letter country code (e.g., "US") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
countryISOAlpha3
| Field | Details |
|---|
| What it does | 3-letter country code (e.g., "USA") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
course
| Field | Details |
|---|
| What it does | Random course name (e.g. Bachelor of Forensic Science) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
creature
| Field | Details |
|---|
| What it does | Random fictional creature species (e.g. Latrodectus indri) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
creditCardDetails
| Field | Details |
|---|
| What it does | Full credit card info array |
| Parameters | - type (string|null): The type of credit card to generate. Example:
Visa - valid (bool): Whether the expiration date should be in the future. Example:
true
|
| When to use | Use this for payment or banking test records where format realism matters. |
creditCardExpirationDate
| Field | Details |
|---|
| What it does | Expiration DateTime object |
| Parameters | - valid (bool): Whether the expiration date should be in the future. Example:
true
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
creditCardExpirationDateString
| Field | Details |
|---|
| What it does | Expiration date string (e.g., "12/27") |
| Parameters | - valid (bool): Whether the expiration date should be in the future. Example:
true - expirationDateFormat (string|null): The date format for the expiration date. Example:
m/y
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
creditCardNumber
| Field | Details |
|---|
| What it does | Valid credit card number (e.g., "4532123456789012") |
| Parameters | - type (string|null): The type of credit card to generate. Example:
MasterCard - valid (bool): Whether the number should pass the Luhn check. Example:
true - separator (string): The separator to use for formatting the number. Example:
-
|
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
creditCardType
| Field | Details |
|---|
| What it does | Card type (e.g., "Visa") |
| Parameters | No parameters. |
| When to use | Use this for payment or banking test records where format realism matters. |
currencyCode
| Field | Details |
|---|
| What it does | Currency code (e.g., "USD") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
date
| Field | Details |
|---|
| What it does | Date string (e.g., "2023-10-10") |
| Parameters | - format (string): The date format to use. Example:
Y-m-d - max (string|DateTime): The latest date to use. Example:
now
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
dateTime
| Field | Details |
|---|
| What it does | DateTime object (e.g., 2023-10-10 14:30:00) |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now - timezone (string|null): The timezone to use. Example:
UTC
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
dateTimeAD
| Field | Details |
|---|
| What it does | DateTime in Anno Domini (e.g., 1200-05-20) |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now - timezone (string|null): The timezone to use. Example:
UTC
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
dateTimeBetween
| Field | Details |
|---|
| What it does | DateTime between two dates |
| Parameters | - startDate (string|DateTime): The earliest date to use. Example:
-30 years - endDate (string|DateTime): The latest date to use. Example:
now - timezone (string|null): The timezone to use. Example:
UTC
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
dateTimeInInterval
| Field | Details |
|---|
| What it does | DateTime within interval from now |
| Parameters | - startDate (string|DateTime): The start date. Example:
now - interval (string): The interval to add to the start date. Example:
+5 days - timezone (string|null): The timezone to use. Example:
UTC
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
dateTimeThisCentury
| Field | Details |
|---|
| What it does | DateTime this century |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now - timezone (string|null): The timezone to use. Example:
UTC
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
dateTimeThisDecade
| Field | Details |
|---|
| What it does | DateTime this decade |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now - timezone (string|null): The timezone to use. Example:
UTC
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
dateTimeThisMonth
| Field | Details |
|---|
| What it does | DateTime this month |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now - timezone (string|null): The timezone to use. Example:
UTC
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
dateTimeThisYear
| Field | Details |
|---|
| What it does | DateTime this year |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now - timezone (string|null): The timezone to use. Example:
UTC
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
dayOfMonth
| Field | Details |
|---|
| What it does | Day of month (1–31) |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
dayOfWeek
| Field | Details |
|---|
| What it does | Day of week name (e.g., "Monday") |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
demonym
| Field | Details |
|---|
| What it does | Nationality demonym (e.g. Bulgarian) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
department
| Field | Details |
|---|
| What it does | Generates a department name (e.g. Kids & Games) |
| Parameters | - max (int): Maximum number of departments to combine. Example:
3 - fixedAmount (bool): Force the exact number of departments. Example:
true
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
deviceBuildNumber
| Field | Details |
|---|
| What it does | Random mobile device build number (e.g. 186) |
| Parameters | No parameters. |
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
deviceManufacturer
| Field | Details |
|---|
| What it does | Random device manufacturer name (e.g. Apple) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
deviceModelName
| Field | Details |
|---|
| What it does | Random device model name (e.g. iPhone 4) |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
| Field | Details |
|---|
| What it does | Random device platform (e.g. Ubuntu Touch) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
deviceSerialNumber
| Field | Details |
|---|
| What it does | Random serial number (e.g. ejfjnRNInxh0363JC2WM) |
| Parameters | No parameters. |
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
deviceVersion
| Field | Details |
|---|
| What it does | Random device version (e.g. 812) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
distanceMeasurement
| Field | Details |
|---|
| What it does | Astronomical distance (e.g. 43 kiloparsecs) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
domainName
| Field | Details |
|---|
| What it does | Domain name (e.g., "example.com") |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
domainWord
| Field | Details |
|---|
| What it does | Domain word (e.g., "acme") |
| Parameters | No parameters. |
| When to use | Use this for links, callback URLs, website fields, and integration endpoints. |
e164PhoneNumber
| Field | Details |
|---|
| What it does | Phone in E.164 format (e.g., "+15551234567") |
| Parameters | No parameters. |
| When to use | Use this for contact and support phone fields in user profiles or orders. |
ean13
| Field | Details |
|---|
| What it does | EAN-13 barcode (e.g., "1234567890128") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
ean8
| Field | Details |
|---|
| What it does | EAN-8 barcode (e.g., "12345670") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
educationalAttainment
| Field | Details |
|---|
| What it does | Random education level (e.g. Master's degree) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
ein
| Field | Details |
|---|
| What it does | US Employer Identification Number (e.g., "12-3456789") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
email
| Field | Details |
|---|
| What it does | Valid email address (e.g., "[email protected]") |
| Parameters | No parameters. |
| When to use | Use this when mapping user, customer, or company email columns that should look realistic. |
emoji
| Field | Details |
|---|
| What it does | Random emoji (e.g., "😀") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
exchangeCode
| Field | Details |
|---|
| What it does | Phone exchange code (e.g., "555") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
file
| Field | Details |
|---|
| What it does | Generates fake data for this format. |
| Parameters | - sourceDirectory (mixed) Default:
'/tmp' - targetDirectory (mixed) Default:
'/tmp' - fullPath (mixed) Default:
true
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
fileExtension
| Field | Details |
|---|
| What it does | File extension (e.g., "pdf") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
firefox
| Field | Details |
|---|
| What it does | Firefox user agent string |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
firstName
| Field | Details |
|---|
| What it does | First name (e.g., "John") |
| Parameters | - gender (string|null): The gender of the name. Example:
male
|
| When to use | Use this for person, account owner, or organization naming fields. |
firstNameFemale
| Field | Details |
|---|
| What it does | Female first name (e.g., "Jane") |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
firstNameMale
| Field | Details |
|---|
| What it does | Male first name (e.g., "John") |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
freeEmail
| Field | Details |
|---|
| What it does | Free email (e.g., "[email protected]") |
| Parameters | No parameters. |
| When to use | Use this when mapping user, customer, or company email columns that should look realistic. |
freeEmailDomain
| Field | Details |
|---|
| What it does | Free email domain (e.g., "gmail.com") |
| Parameters | No parameters. |
| When to use | Use this when mapping user, customer, or company email columns that should look realistic. |
galaxy
| Field | Details |
|---|
| What it does | Galaxy name (e.g. Andromeda) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
gender
| Field | Details |
|---|
| What it does | Random gender (e.g. Female) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
getDefaultTimezone
| Field | Details |
|---|
| What it does | Current default timezone (e.g., "UTC") |
| Parameters | No parameters. |
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
| Field | Details |
|---|
| What it does | Array of format constants |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
| Field | Details |
|---|
| What it does | Provider-specific formats array |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
height
| Field | Details |
|---|
| What it does | Random height metric or imperial (e.g. 1.99 or 7 ft, 2 in) |
| Parameters | - unit (string) Default:
'metric'
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
hexColor
| Field | Details |
|---|
| What it does | Hex color code (e.g., "#ff0044") |
| Parameters | No parameters. |
| When to use | Use this for theme, branding, and UI customization fields. |
hslColor
| Field | Details |
|---|
| What it does | HSL color string (e.g., "hsl(120, 50%, 75%)") |
| Parameters | No parameters. |
| When to use | Use this for theme, branding, and UI customization fields. |
hslColorAsArray
| Field | Details |
|---|
| What it does | HSL as [hue, saturation, lightness] |
| Parameters | No parameters. |
| When to use | Use this for theme, branding, and UI customization fields. |
iban
| Field | Details |
|---|
| What it does | International Bank Account Number (e.g., "DE44500105170123456789") |
| Parameters | - countryCode (string|null): The country code for the IBAN. Example:
GB - prefix (string): The prefix for the IBAN.
- length (int|null): The length of the IBAN. Example:
null
|
| When to use | Use this for payment or banking test records where format realism matters. |
image
| Field | Details |
|---|
| What it does | Generates fake data for this format. |
| Parameters | - dir (mixed) Default:
NULL - width (mixed) Default:
640 - height (mixed) Default:
480 - category (mixed) Default:
NULL - fullPath (mixed) Default:
true - randomize (mixed) Default:
true - word (mixed) Default:
NULL - gray (mixed) Default:
false - format (mixed) Default:
'png'
|
| When to use | Use this for profile media, gallery placeholders, and product thumbnail fields. |
imageUrl
| Field | Details |
|---|
| What it does | Random image URL (e.g., "https://picsum.photos/200") |
| Parameters | - width (int): The width of the image. Example:
640 - height (int): The height of the image. Example:
480 - category (string|null): The category for the image. Example:
cats - randomize (bool): Whether to randomize the image. Example:
true - word (string|null): The word to overlay on the image. Example:
Faker - gray (bool): Whether to generate a grayscale image. Example:
false - format (string): The image format. Example:
png
|
| When to use | Use this for profile media, gallery placeholders, and product thumbnail fields. |
imei
| Field | Details |
|---|
| What it does | IMEI number (e.g., "35-123456-789012-3") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
ingredient
| Field | Details |
|---|
| What it does | Random ingredient name (e.g. Hazelnut) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
internetExplorer
| Field | Details |
|---|
| What it does | IE user agent string |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
iosMobileToken
| Field | Details |
|---|
| What it does | iOS push token (e.g., "a1b2c3d4...") |
| Parameters | No parameters. |
| When to use | Use this for identifiers, API keys, session references, and secure random values. |
ipv4
| Field | Details |
|---|
| What it does | IPv4 address (e.g., "192.168.1.1") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
ipv6
| Field | Details |
|---|
| What it does | IPv6 address (e.g., "2001:db8::1") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
isbn10
| Field | Details |
|---|
| What it does | ISBN-10 (e.g., "0-306-40615-2") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
isbn13
| Field | Details |
|---|
| What it does | ISBN-13 (e.g., "978-0-306-40615-7") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
iso8601
| Field | Details |
|---|
| What it does | ISO 8601 date (e.g., "2023-10-10T14:30:00+00:00") |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
jobTitle
| Field | Details |
|---|
| What it does | Job title (e.g., "Software Engineer") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
json
| Field | Details |
|---|
| What it does | Generate a json string |
| Parameters | - structure (array): The structure of the json you want to replicate Example:
{"name": "faker:name()", "email": "faker:email()", "roles": ["admin"]} - quantity (int): The number of items in the json array Example:
5
|
| When to use | Use this when a JSON column needs structured synthetic payloads. |
languageCode
| Field | Details |
|---|
| What it does | Language code (e.g., "en") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
lastName
| Field | Details |
|---|
| What it does | Last name (e.g., "Doe") |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
latitude
| Field | Details |
|---|
| What it does | Latitude coordinate (e.g., 40.7128) |
| Parameters | - min (float): The minimum latitude. Example:
-90 - max (float): The maximum latitude. Example:
90
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
launchVehicle
| Field | Details |
|---|
| What it does | Launch vehicle name (e.g. Saturn IV) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
lexify
| Field | Details |
|---|
| What it does | Replace ? with random letter (e.g., "aBc") |
| Parameters | - string (string): The format string containing ? placeholders. Example:
????
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
| Field | Details |
|---|
| What it does | Linux platform token (e.g., "X11; Linux x86_64") |
| Parameters | No parameters. |
| When to use | Use this for identifiers, API keys, session references, and secure random values. |
linuxProcessor
| Field | Details |
|---|
| What it does | Linux processor (e.g., "i686") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
localCoordinates
| Field | Details |
|---|
| What it does | Local lat/long array |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
localIpv4
| Field | Details |
|---|
| What it does | Private IPv4 (e.g., "192.168.0.1") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
locale
| Field | Details |
|---|
| What it does | Locale code (e.g., "en_US") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
longitude
| Field | Details |
|---|
| What it does | Longitude coordinate (e.g., -74.0060) |
| Parameters | - min (float): The minimum longitude. Example:
-180 - max (float): The maximum longitude. Example:
180
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
macAddress
| Field | Details |
|---|
| What it does | MAC address (e.g., "00:1A:2B:3C:4D:5E") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
| Field | Details |
|---|
| What it does | Mac platform token (e.g., "Intel Mac OS X 10_15_7") |
| Parameters | No parameters. |
| When to use | Use this for identifiers, API keys, session references, and secure random values. |
macProcessor
| Field | Details |
|---|
| What it does | Mac processor (e.g., "Intel") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
maritalStatus
| Field | Details |
|---|
| What it does | Random marital status (e.g. Married) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
md5
| Field | Details |
|---|
| What it does | MD5 hash (e.g., "d41d8cd98f00b204e9800998ecf8427e") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
measurement
| Field | Details |
|---|
| What it does | Random recipe measurement (e.g. 1 pint) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
medicine
| Field | Details |
|---|
| What it does | Fake medicine name (e.g. Amphevorin) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
meteorite
| Field | Details |
|---|
| What it does | Meteorite name (e.g. Qidong) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
mimeType
| Field | Details |
|---|
| What it does | MIME type (e.g., "image/png") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
month
| Field | Details |
|---|
| What it does | Month number (1–12) |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
monthName
| Field | Details |
|---|
| What it does | Full month name (e.g., "October") |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now
|
| When to use | Use this for person, account owner, or organization naming fields. |
moon
| Field | Details |
|---|
| What it does | Moon name (e.g. Europa) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
msedge
| Field | Details |
|---|
| What it does | Microsoft Edge user agent |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
name
| Field | Details |
|---|
| What it does | Full name (e.g., "John Doe") |
| Parameters | - gender (string|null): The gender of the name. Example:
female
|
| When to use | Use this for person, account owner, or organization naming fields. |
nasaSpaceCraft
| Field | Details |
|---|
| What it does | NASA spacecraft name (e.g. Atlantis) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
nebula
| Field | Details |
|---|
| What it does | Nebula name (e.g. Orion Nebula) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
numberBetween
| Field | Details |
|---|
| What it does | Random number in range (e.g., 42) |
| Parameters | - min (int): The lowest value to return. Example:
1000 - max (int): The highest value to return. Example:
9000
|
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
numerify
| Field | Details |
|---|
| What it does | Replace # with digit (e.g., "123") |
| Parameters | - string (string): The format string containing # placeholders. Example:
###
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
opera
| Field | Details |
|---|
| What it does | Opera user agent string |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
optional
| Field | Details |
|---|
| What it does | Generates fake data for this format. |
| Parameters | - weight (float): The probability of returning a value. Example:
0.9 - default (mixed): The default value to return if not returning the argument. Example:
null
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
paragraph
| Field | Details |
|---|
| What it does | Single paragraph of text |
| Parameters | - nbSentences (int): The (approximate) number of sentences. Example:
3 - variableNbSentences (bool): Whether the number of sentences should vary. Example:
true
|
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
paragraphs
| Field | Details |
|---|
| What it does | Multiple paragraphs as array |
| Parameters | - nb (int): The number of paragraphs. Example:
3 - asText (bool): Whether to return as text (joined by newlines) or array. Example:
true
|
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
passthrough
| Field | Details |
|---|
| What it does | Generates fake data for this format. |
| Parameters | |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
password
| Field | Details |
|---|
| What it does | Random password (e.g., "s3cr3t!@#") |
| Parameters | - minLength (int): The minimum length of the password. Example:
6 - maxLength (int): The maximum length of the password. Example:
20
|
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
phoneNumber
| Field | Details |
|---|
| What it does | Phone number (e.g., "(555) 123-4567") |
| Parameters | No parameters. |
| When to use | Use this for contact and support phone fields in user profiles or orders. |
phoneNumberWithExtension
| Field | Details |
|---|
| What it does | Phone with extension (e.g., "(555) 123-4567 x123") |
| Parameters | No parameters. |
| When to use | Use this for contact and support phone fields in user profiles or orders. |
planet
| Field | Details |
|---|
| What it does | Planet name (e.g. Neptune) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
plant
| Field | Details |
|---|
| What it does | Random fictional plant species (e.g. Pyrus filiformis) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
postcode
| Field | Details |
|---|
| What it does | Postal code (e.g., "10001") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
productName
| Field | Details |
|---|
| What it does | Generates a product name (e.g. Small Rubber Bottle) |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
| Field | Details |
|---|
| What it does | Generates a promotion code (e.g. KillerPromotion257835) |
| Parameters | |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
race
| Field | Details |
|---|
| What it does | Random race (e.g. Asian) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
randomAscii
| Field | Details |
|---|
| What it does | Random ASCII character |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
randomDigit
| Field | Details |
|---|
| What it does | Random digit 0–9 |
| Parameters | No parameters. |
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
randomDigitNot
| Field | Details |
|---|
| What it does | Random digit except given (e.g., not 5) |
| Parameters | - except (int): The digit to exclude. Example:
0
|
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
randomDigitNotNull
| Field | Details |
|---|
| What it does | Random digit 1–9 |
| Parameters | No parameters. |
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
randomElement
| Field | Details |
|---|
| What it does | Random item from array |
| Parameters | - array (array): The array to pick from. Example:
['a', 'b', 'c']
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
randomElements
| Field | Details |
|---|
| What it does | Random subset of array |
| Parameters | - array (array): The array to pick from. Example:
['a', 'b', 'c'] - count (int): The number of elements to pick. Example:
3 - allowDuplicates (bool): Whether to allow duplicates. Example:
false
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
randomFloat
| Field | Details |
|---|
| What it does | Random float (e.g., 3.1415) |
| Parameters | - nbMaxDecimals (int|null): The maximum number of decimals. Example:
2 - min (float): The lowest value to return. Example:
0 - max (float|null): The highest value to return. Example:
100
|
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
randomHtml
| Field | Details |
|---|
| What it does | Random HTML snippet |
| Parameters | - maxDepth (int): The maximum nesting depth. Example:
5 - maxWidth (int): The maximum number of child elements per level. Example:
4
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
randomKey
| Field | Details |
|---|
| What it does | Random key from array |
| Parameters | - array (array): The array to pick a key from. Example:
['a' => 0, 'b' => 1]
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
randomLetter
| Field | Details |
|---|
| What it does | Random uppercase letter (A–Z) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
randomNumber
| Field | Details |
|---|
| What it does | Random large number (e.g., 123456) |
| Parameters | - nbDigits (int|null): The number of digits. Example:
5 - strict (bool): Whether the number should have exactly the given number of digits. Example:
false
|
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
realText
| Field | Details |
|---|
| What it does | Lorem ipsum from real text corpus |
| Parameters | - maxNbChars (int): The maximum number of characters. Example:
200 - indexSize (int): The index size for text generation (1-5). Example:
2
|
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
realTextBetween
| Field | Details |
|---|
| What it does | Real text between word counts |
| Parameters | - minNbChars (int): The minimum number of characters. Example:
160 - maxNbChars (int): The maximum number of characters. Example:
200 - indexSize (int): The index size for text generation (1-5). Example:
2
|
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
regexify
| Field | Details |
|---|
| What it does | Generate string matching regex pattern |
| Parameters | - regex (string): The regular expression to match. Example:
[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
relationship
| Field | Details |
|---|
| What it does | Generates fake data for this format. |
| Parameters | - parent_table (string): Parent table of the relationship Example:
users - parent_column (string): Parent column of the relationship Example:
id
|
| When to use | Use this when a field must reference parent table values instead of random standalone data. |
rgbColor
| Field | Details |
|---|
| What it does | RGB color string (e.g., "255,0,68") |
| Parameters | No parameters. |
| When to use | Use this for theme, branding, and UI customization fields. |
rgbColorAsArray
| Field | Details |
|---|
| What it does | RGB as [r, g, b] array |
| Parameters | No parameters. |
| When to use | Use this for theme, branding, and UI customization fields. |
rgbCssColor
| Field | Details |
|---|
| What it does | CSS rgb() string (e.g., "rgb(255,0,68)") |
| Parameters | No parameters. |
| When to use | Use this for theme, branding, and UI customization fields. |
rgbaCssColor
| Field | Details |
|---|
| What it does | CSS rgba() string (e.g., "rgba(255,0,68,0.5)") |
| Parameters | No parameters. |
| When to use | Use this for theme, branding, and UI customization fields. |
safari
| Field | Details |
|---|
| What it does | Safari user agent string |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
safeColorName
| Field | Details |
|---|
| What it does | Web-safe color name (e.g., "navy") |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
safeEmail
| Field | Details |
|---|
| What it does | Safe email (e.g., "[email protected]") |
| Parameters | No parameters. |
| When to use | Use this when mapping user, customer, or company email columns that should look realistic. |
safeEmailDomain
| Field | Details |
|---|
| What it does | Safe email domain (e.g., "example.org") |
| Parameters | No parameters. |
| When to use | Use this when mapping user, customer, or company email columns that should look realistic. |
safeHexColor
| Field | Details |
|---|
| What it does | Web-safe hex color (e.g., "#336699") |
| Parameters | No parameters. |
| When to use | Use this for theme, branding, and UI customization fields. |
scientist
| Field | Details |
|---|
| What it does | Scientist name (e.g. Max Planck) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
secondaryAddress
| Field | Details |
|---|
| What it does | Apartment/suite (e.g., "Apt. 2B") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
secondarySchool
| Field | Details |
|---|
| What it does | Random secondary school name (e.g. Mallowpond High) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
semver
| Field | Details |
|---|
| What it does | Generate semantic version number |
| Parameters | - preRelease (bool): Whether to randomly include a pre-release identifier (e.g. -alpha, -beta, -rc.1). Example:
true - build (bool): Whether to randomly include build metadata (e.g. +20180419085616). Example:
true
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
sentence
| Field | Details |
|---|
| What it does | Single sentence |
| Parameters | - nbWords (int): The (approximate) number of words. Example:
6 - variableNbWords (bool): Whether the number of words should vary. Example:
true
|
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
sentences
| Field | Details |
|---|
| What it does | Multiple sentences as array |
| Parameters | - nb (int): The number of sentences. Example:
3 - asText (bool): Whether to return as text (joined by spaces) or array. Example:
true
|
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
setDefaultTimezone
| Field | Details |
|---|
| What it does | Set default timezone (returns void) |
| Parameters | - timezone (string|null): The default timezone. Example:
UTC
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
sha1
| Field | Details |
|---|
| What it does | SHA-1 hash (e.g., "da39a3ee5e6b4b0d3255bfef95601890afd80709") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
sha256
| Field | Details |
|---|
| What it does | SHA-256 hash |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
shuffle
| Field | Details |
|---|
| What it does | Shuffle array or string (deprecated alias) |
| Parameters | - arg (string|array): The string or array to shuffle. Example:
abc
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
shuffleArray
| Field | Details |
|---|
| What it does | Shuffle array elements |
| Parameters | - array (array): The array to shuffle. Example:
['a', 'b', 'c']
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
shuffleString
| Field | Details |
|---|
| What it does | Shuffle string characters |
| Parameters | - string (string): The string to shuffle. Example:
abc - encoding (string): The encoding to use. Example:
UTF-8
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
slug
| Field | Details |
|---|
| What it does | URL-friendly slug (e.g., "hello-world") |
| Parameters | - nbWords (int): The (approximate) number of words. Example:
6 - variableNbWords (bool): Whether the number of words should vary. Example:
true
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
spaceCompany
| Field | Details |
|---|
| What it does | Space company (e.g. SpaceX) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
spice
| Field | Details |
|---|
| What it does | Random spice name (e.g. Chamomile) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
sport
| Field | Details |
|---|
| What it does | Random sport name (e.g. soccer) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
ssn
| Field | Details |
|---|
| What it does | Social Security Number (e.g., "123-45-6789") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
star
| Field | Details |
|---|
| What it does | Star name (e.g. Luyten 726-8B) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
starCluster
| Field | Details |
|---|
| What it does | Star cluster name (e.g. Palomar 6) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
state
| Field | Details |
|---|
| What it does | State name (e.g., "California") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
stateAbbr
| Field | Details |
|---|
| What it does | State abbreviation (e.g., "CA") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
streetAddress
| Field | Details |
|---|
| What it does | Street address (e.g., "742 Evergreen Terrace") |
| Parameters | No parameters. |
| When to use | Use this for location fields in customer, shipping, and billing records. |
streetName
| Field | Details |
|---|
| What it does | Street name (e.g., "Main Street") |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
streetSuffix
| Field | Details |
|---|
| What it does | Street suffix (e.g., "Avenue") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
suffix
| Field | Details |
|---|
| What it does | Name suffix (e.g., "Jr.") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
swiftBicNumber
| Field | Details |
|---|
| What it does | SWIFT/BIC code (e.g., "COBADEFFXXX") |
| Parameters | No parameters. |
| When to use | Use this for score, quantity, priority, amount, and metric fields. |
team
| Field | Details |
|---|
| What it does | Random sports team name (e.g. Oregon Tigers) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
text
| Field | Details |
|---|
| What it does | Random text (e.g., lorem ipsum) |
| Parameters | - maxNbChars (int): The maximum number of characters. Example:
200
|
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
time
| Field | Details |
|---|
| What it does | Time string (e.g., "14:30:00") |
| Parameters | - format (string): The time format to use. Example:
H:i:s - max (string|DateTime): The latest time to use. Example:
now
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
timezone
| Field | Details |
|---|
| What it does | Timezone identifier (e.g., "America/New_York") |
| Parameters | - countryCode (string|null): The country code to limit timezones to. Example:
FR
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
title
| Field | Details |
|---|
| What it does | Person title (e.g., "Mr.") |
| Parameters | - gender (string|null): The gender of the title. Example:
male
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
titleFemale
| Field | Details |
|---|
| What it does | Female title (e.g., "Ms.") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
titleMale
| Field | Details |
|---|
| What it does | Male title (e.g., "Mr.") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
tld
| Field | Details |
|---|
| What it does | Top-level domain (e.g., "com") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
toLower
| Field | Details |
|---|
| What it does | Convert string to lowercase |
| Parameters | - string (string): The string to convert to lowercase. Example:
HELLO
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
toUpper
| Field | Details |
|---|
| What it does | Convert string to uppercase |
| Parameters | - string (string): The string to convert to uppercase. Example:
hello
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
tollFreeAreaCode
| Field | Details |
|---|
| What it does | Toll-free area code (e.g., "800") |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
tollFreePhoneNumber
| Field | Details |
|---|
| What it does | Toll-free number (e.g., "(800) 123-4567") |
| Parameters | No parameters. |
| When to use | Use this for contact and support phone fields in user profiles or orders. |
unique
| Field | Details |
|---|
| What it does | Generates fake data for this format. |
| Parameters | - maxRetries (int): The maximum number of retries to get a unique value. Example:
10000 - used (callable|null): A callable to check if the value is already used. Example:
null
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
university
| Field | Details |
|---|
| What it does | Random university name (e.g. Clearcourt University) |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
unixTime
| Field | Details |
|---|
| What it does | Unix timestamp (e.g., 1696945800) |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now
|
| When to use | Use this for created_at, updated_at, booking windows, and schedule data. |
url
| Field | Details |
|---|
| What it does | Random URL (e.g., "https://www.example.com") |
| Parameters | No parameters. |
| When to use | Use this for links, callback URLs, website fields, and integration endpoints. |
userAgent
| Field | Details |
|---|
| What it does | Random browser user agent |
| Parameters | No parameters. |
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
userName
| Field | Details |
|---|
| What it does | Username (e.g., "johndoe") |
| Parameters | No parameters. |
| When to use | Use this for person, account owner, or organization naming fields. |
uuid
| Field | Details |
|---|
| What it does | UUID v4 (e.g., "f47ac10b-58cc-4372-a567-0e02b2c3d479") |
| Parameters | No parameters. |
| When to use | Use this for identifiers, API keys, session references, and secure random values. |
valid
| Field | Details |
|---|
| What it does | Generates fake data for this format. |
| Parameters | - validator (mixed) Default:
NULL - maxRetries (mixed) Default:
10000
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |
| Field | Details |
|---|
| What it does | Windows platform token (e.g., "Windows NT 10.0") |
| Parameters | No parameters. |
| When to use | Use this for identifiers, API keys, session references, and secure random values. |
word
| Field | Details |
|---|
| What it does | Single random word (e.g., "house") |
| Parameters | No parameters. |
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
words
| Field | Details |
|---|
| What it does | Array of random words |
| Parameters | - nb (int): The number of words. Example:
3 - asText (bool): Whether to return as text (joined by spaces) or array. Example:
true
|
| When to use | Use this for descriptions, notes, bios, and long-form content seeds. |
year
| Field | Details |
|---|
| What it does | 4-digit year (e.g., "2025") |
| Parameters | - max (string|DateTime): The latest date to use. Example:
now
|
| When to use | Use this when you need realistic synthetic values matching the method format for this column type. |