Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

faker laravel

random_int(0, 12300)
Str::random(20)
  $faker->word
  $faker->sentence
  $faker->paragraph
  $faker->randomFloat(2, 0, 10000)
  $faker->image('public/storage/images',640,480, null, false),
	$faker->text(200)
	$faker->numberBetween(10, 500)
    $faker->unique()->numberBetween(100, 500)
    $faker->userName,
$faker -> sentence(4,true),
<img src="/storage/images/{{$product->image}}">
 
PREVIOUS NEXT
Tagged: #faker #laravel
ADD COMMENT
Topic
Name
6+1 =