public function run() { $faker = Faker::create(); foreach (range(1, 5) as $index) { $fullName = $faker->name; Eventos::create(['evento_nombre' => $fullName, 'slug' => \Str::slug($fullName)]); } }