Answers for "laravel faker description"

PHP
0

laravel faker title

$faker = Faker\Factory::create();

$faker->name; // First and second name
$faker->randomDigit; // A random number
$faker->word; // A single word
$faker->sentence; // A sentence
$faker->unique()->word; // A single unique word
$faker->text($maxNbChars = 300); // 300 character long text
$faker->safeEmail; // An email address
$faker->hexcolor; // Hex color
Posted by: Guest on July-10-2021
5

laravel faker example

php artisan make:factory PostFactory --model=Post
Posted by: Guest on October-15-2020
0

laravel faker

$faker->text();
$faker->name();
$faker->sentence();
Posted by: Guest on September-10-2021
0

laravel faker example

php artisan make:factory PostFactory
Posted by: Guest on October-15-2020

Browse Popular Code Answers by Language