Generator
class Generator
Properties
protected | $providers | ||
protected | $formatters | ||
string | $name | ||
string | $firstName | ||
string | $firstNameMale | ||
string | $firstNameFemale | ||
string | $lastName | ||
string | $title | ||
string | $titleMale | ||
string | $titleFemale | ||
string | $idNumber | ||
string | $citySuffix | ||
string | $cityPrefix | ||
string | $streetSuffix | ||
string | $buildingNumber | ||
string | $city | ||
string | $streetName | ||
string | $streetAddress | ||
string | $secondaryAddress | ||
string | $postcode | ||
string | $address | ||
string | $state | ||
string | $country | ||
string | $ean13 | ||
string | $ean8 | ||
string | $isbn13 | ||
string | $isbn10 | ||
string | $phoneNumber | ||
string | $e164PhoneNumber | ||
string | $catchPhrase | ||
string | $bs | ||
string | $company | ||
string | $companySuffix | ||
string | $jobTitle | ||
string | $creditCardType | ||
string | $creditCardNumber | ||
DateTime | $creditCardExpirationDate | ||
string | $creditCardExpirationDateString | ||
array | $creditCardDetails | ||
string | $bankAccountNumber | ||
string | $swiftBicNumber | ||
string | $vat | ||
string | $word | ||
string|array | $words | ||
string | $sentence | ||
string|array | $sentences | ||
string | $paragraph | ||
string|array | $paragraphs | ||
string | $text | ||
string | |||
string | $safeEmail | ||
string | $freeEmail | ||
string | $companyEmail | ||
string | $freeEmailDomain | ||
string | $safeEmailDomain | ||
string | $userName | ||
string | $password | ||
string | $domainName | ||
string | $domainWord | ||
string | $tld | ||
string | $url | ||
string | $slug | ||
string | $ipv4 | ||
string | $ipv6 | ||
string | $localIpv4 | ||
string | $macAddress | ||
int | $unixTime | ||
DateTime | $dateTime | ||
DateTime | $dateTimeAD | ||
string | $iso8601 | ||
DateTime | $dateTimeThisCentury | ||
DateTime | $dateTimeThisDecade | ||
DateTime | $dateTimeThisYear | ||
DateTime | $dateTimeThisMonth | ||
string | $amPm | ||
string | $dayOfMonth | ||
string | $dayOfWeek | ||
string | $month | ||
string | $monthName | ||
string | $year | ||
string | $century | ||
string | $timezone | ||
string | $md5 | ||
string | $sha1 | ||
string | $sha256 | ||
string | $locale | ||
string | $countryCode | ||
string | $countryISOAlpha3 | ||
string | $languageCode | ||
string | $currencyCode | ||
bool | $boolean | ||
int | $randomDigit | ||
int | $randomDigitNot | ||
int | $randomDigitNotNull | ||
string | $randomLetter | ||
string | $randomAscii | ||
string | $macProcessor | ||
string | $linuxProcessor | ||
string | $userAgent | ||
string | $chrome | ||
string | $firefox | ||
string | $safari | ||
string | $opera | ||
string | $internetExplorer | ||
string | $windowsPlatformToken | ||
string | $macPlatformToken | ||
string | $linuxPlatformToken | ||
string | $uuid | ||
string | $mimeType | ||
string | $fileExtension | ||
string | $hexColor | ||
string | $safeHexColor | ||
string | $rgbColor | ||
array | $rgbColorAsArray | ||
string | $rgbCssColor | ||
string | $safeColorName | ||
string | $colorName |
Methods
No description
No description
No description
No description
No description
Replaces tokens ('{{ tokenName }}') with the result from the token method call
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
at line 210
addProvider($provider)
No description
at line 215
getProviders()
No description
at line 220
seed($seed = null)
No description
at line 235
format($formatter, $arguments = [])
No description
at line 245
callable
getFormatter(string $formatter)
No description
at line 266
string
parse(string $string)
Replaces tokens ('{{ tokenName }}') with the result from the token method call
at line 276
mixed
__get(string $attribute)
No description
at line 287
mixed
__call(string $method, array $attributes)
No description
at line 292
__destruct()
No description
at line 297
protected
callFormatWithMatches($matches)
No description
at line 205
string
name(string $gender = null)
No description
at line 205
string
firstName(string $gender = null)
No description
at line 205
string
title(string $gender = null)
No description
at line 205
float
latitude(mixed $min, mixed $max)
No description
at line 205
float
longitude(mixed $min, mixed $max)
No description
at line 205
string
creditCardNumber(mixed $type, mixed $formatted, mixed $separator)
No description
at line 205
string
iban(mixed $countryCode, mixed $prefix, mixed $length)
No description
at line 205
string|array
words(mixed $nb, mixed $asText)
No description
at line 205
string
word()
No description
at line 205
string
sentence(mixed $nbWords, mixed $variableNbWords)
No description
at line 205
string|array
sentences(mixed $nb, mixed $asText)
No description
at line 205
string
paragraph(mixed $nbSentences, mixed $variableNbSentences)
No description
at line 205
string|array
paragraphs(mixed $nb, mixed $asText)
No description
at line 205
string
text(mixed $maxNbChars)
No description
at line 205
string
realText(mixed $maxNbChars, mixed $indexSize)
No description
at line 205
string
password(mixed $minLength, mixed $maxLength)
No description
at line 205
string
slug(mixed $nbWords, mixed $variableNbWords)
No description
at line 205
string
amPm(mixed $max)
No description
at line 205
string
date(mixed $format, mixed $max)
No description
at line 205
string
dayOfMonth(mixed $max)
No description
at line 205
string
dayOfWeek(mixed $max)
No description
at line 205
string
iso8601(mixed $max)
No description
at line 205
string
month(mixed $max)
No description
at line 205
string
monthName(mixed $max)
No description
at line 205
string
time(mixed $format, mixed $max)
No description
at line 205
int
unixTime(mixed $max)
No description
at line 205
string
year(mixed $max)
No description
at line 205
DateTime
dateTime(mixed $max, mixed $timezone)
No description
at line 205
DateTime
dateTimeAd(mixed $max, mixed $timezone)
No description
at line 205
DateTime
dateTimeBetween(mixed $startDate, mixed $endDate, mixed $timezone)
No description
at line 205
DateTime
dateTimeInInterval(mixed $date, mixed $interval, mixed $timezone)
No description
at line 205
DateTime
dateTimeThisCentury(mixed $max, mixed $timezone)
No description
at line 205
DateTime
dateTimeThisDecade(mixed $max, mixed $timezone)
No description
at line 205
DateTime
dateTimeThisYear(mixed $max, mixed $timezone)
No description
at line 205
DateTime
dateTimeThisMonth(mixed $max, mixed $timezone)
No description
at line 205
bool
boolean(mixed $chanceOfGettingTrue)
No description
at line 205
int
randomNumber(mixed $nbDigits, mixed $strict)
No description
at line 205
int|string|null
randomKey(array $array = [])
No description
at line 205
int
numberBetween(mixed $min, mixed $max)
No description
at line 205
float
randomFloat(mixed $nbMaxDecimals, mixed $min, mixed $max)
No description
at line 205
mixed
randomElement(array $array = ['a', 'c'] $)
No description
at line 205
array
randomElements(array $array = ['a', 'c'] $, $count, $allowDuplicates)
No description
at line 205
array|string
shuffle(mixed $arg)
No description
at line 205
array
shuffleArray(array $array = [])
No description
at line 205
string
shuffleString(mixed $string, mixed $encoding)
No description
at line 205
string
numerify(mixed $string)
No description
at line 205
string
lexify(mixed $string)
No description
at line 205
string
bothify(mixed $string)
No description
at line 205
string
asciify(mixed $string)
No description
at line 205
string
regexify(mixed $regex)
No description
at line 205
string
toLower(mixed $string)
No description
at line 205
string
toUpper(mixed $string)
No description
at line 205
Generator
optional(mixed $weight, mixed $default)
No description
at line 205
Generator
unique(mixed $reset, mixed $maxRetries)
No description
at line 205
Generator
valid(mixed $validator, mixed $maxRetries)
No description
at line 205
mixed
passthrough(mixed $passthrough)
No description
at line 205
int
biasedNumberBetween(mixed $min, mixed $max, mixed $function)
No description
at line 205
string
file(mixed $sourceDirectory, mixed $targetDirectory, mixed $fullPath)
No description
at line 205
string
imageUrl(mixed $width, mixed $height, mixed $word, mixed $font_color, mixed $bg_color, mixed $font_size)
No description
at line 205
string
image(mixed $dir, mixed $width, mixed $height, mixed $category, mixed $fullPath, mixed $randomize, mixed $word)
No description
at line 205
string
randomHtml(mixed $maxDepth, mixed $maxWidth)
No description