时间:2021-05-26
D:\phpStudy\panyEmail * @property string $freeEmailDomain * @property string $safeEmailDomain * @property string $userName * @property string $password * @method string password($minLength = 6, $maxLength = 20) * @property string $domainName * @property string $domainWord * @property string $tld * @property string $url * @property string $slug * @method string slug($nbWords = 6, $variableNbWords = true) * @property string $ipv4 * @property string $ipv6 * @property string $localIpv4 * @property string $macAddress * * @property int $unixTime * @property \DateTime $dateTime * @property \DateTime $dateTimeAD * @property string $iso8601 * @property \DateTime $dateTimeThisCentury * @property \DateTime $dateTimeThisDecade * @property \DateTime $dateTimeThisYear * @property \DateTime $dateTimeThisMonth * @property string $amPm * @property int $dayOfMonth * @property int $dayOfWeek * @property int $month * @property string $monthName * @property int $year * @property int $century * @property string $timezone * @method string amPm($max = 'now') * @method string date($format = 'Y-m-d', $max = 'now') * @method string dayOfMonth($max = 'now') * @method string dayOfWeek($max = 'now') * @method string iso8601($max = 'now') * @method string month($max = 'now') * @method string monthName($max = 'now') * @method string time($format = 'H:i:s', $max = 'now') * @method string unixTime($max = 'now') * @method string year($max = 'now') * @method \DateTime dateTime($max = 'now', $timezone = null) * @method \DateTime dateTimeAd($max = 'now', $timezone = null) * @method \DateTime dateTimeBetween($startDate = '-30 years', $endDate = 'now') * @method \DateTime dateTimeInInterval($date = '-30 years', $interval = '+5 days', $timezone = null) * @method \DateTime dateTimeThisCentury($max = 'now', $timezone = null) * @method \DateTime dateTimeThisDecade($max = 'now', $timezone = null) * @method \DateTime dateTimeThisYear($max = 'now', $timezone = null) * @method \DateTime dateTimeThisMonth($max = 'now', $timezone = null) * * @property string $md5 * @property string $sha1 * @property string $sha256 * @property string $locale * @property string $countryCode * @property string $countryISOAlpha3 * @property string $languageCode * @property string $currencyCode * @property boolean $boolean * @method boolean boolean($chanceOfGettingTrue = 50) * * @property int $randomDigit * @property int $randomDigitNotNull * @property string $randomLetter * @property string $randomAscii * @method int randomNumber($nbDigits = null, $strict = false) * @method int|string|null randomKey(array $array = array()) * @method int numberBetween($min = 0, $max = 2147483647) * @method float randomFloat($nbMaxDecimals = null, $min = 0, $max = null) * @method mixed randomElement(array $array = array('a', 'b', 'c')) * @method array randomElements(array $array = array('a', 'b', 'c'), $count = 1, $allowDuplicates = false) * @method array|string shuffle($arg = '') * @method array shuffleArray(array $array = array()) * @method string shuffleString($string = '', $encoding = 'UTF-8') * @method string numerify($string = '###') * @method string lexify($string = '????') * @method string bothify($string = '## ??') * @method string asciify($string = '****') * @method string regexify($regex = '') * @method string toLower($string = '') * @method string toUpper($string = '') * @method Generator optional($weight = 0.5, $default = null) * @method Generator unique($reset = false, $maxRetries = 10000) * @method Generator valid($validator = null, $maxRetries = 10000) * * @method integer biasedNumberBetween($min = 0, $max = 100, $function = 'sqrt') * * @property string $macProcessor * @property string $linuxProcessor * @property string $userAgent * @property string $chrome * @property string $firefox * @property string $safari * @property string $opera * @property string $internetExplorer * @property string $windowsPlatformToken * @property string $macPlatformToken * @property string $linuxPlatformToken * * @property string $uuid * * @property string $mimeType * @property string $fileExtension * @method string file($sourceDirectory = '/tmp', $targetDirectory = '/tmp', $fullPath = true) * * @method string imageUrl($width = 640, $height = 480, $category = null, $randomize = true, $word = null, $gray = false) * @method string image($dir = null, $width = 640, $height = 480, $category = null, $fullPath = true, $randomize = true, $word = null) * * @property string $hexColor * @property string $safeHexColor * @property string $rgbColor * @property array $rgbColorAsArray * @property string $rgbCssColor * @property string $safeColorName * @property string $colorName * * @method string randomHtml($maxDepth = 4, $maxWidth = 4) * */
以上这篇laravel批量生成假数据的方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。
声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。
楔子我们平时在做测试的时候,经常会使用一些假数据,而Python中有一个包叫faker(不是打LOL的那个),专门用来生成假数据,并且生成的假数据非常逼真,下面
网站生成管理帝国CMS的数据更新中心为批量生成整站页面的功能。一、数据更新中心界面说明页面刷新管理:对整站的所有主要页面进行批量生成操作。更新缓存数据:对网站程
本文实例讲述了laravel5.1框架下的批量赋值实现方法。分享给大家供大家参考,具体如下:官方中文文档在这里:http://laravel-china.org
引言最近在写任务中,碰到一个问题,需要批量更新多条数据,但是Laravel没有提供这样的方法,Google了一些方法,刚好借着任务来举例说明一下。任务要求任务是
本文实例讲述了laravel框架语言包拓展实现方法。分享给大家供大家参考,具体如下:laravel使用make:auth生成用户认证,登录表单是英文版本的,打开