Faker Image Laravel
use Faker\Generator as Faker;
$factory->define(Product::class, function (Faker $faker) {
return [
'amount' => $faker->randomFloat(2, 0, 10000),
'image' => $faker->image('public/storage/images',640,480, null, false),
];
});
Long Leopard