faker->words(3, true); return [ 'user_id' => User::factory(), 'name' => $name, 'slug' => Str::slug($name), 'description' => $this->faker->paragraph, 'license_id' => License::factory(), 'source_code_link' => $this->faker->url(), 'contains_ai_content' => $this->faker->boolean, 'created_at' => now(), 'updated_at' => now(), ]; } /** * Indicate that the mod should be soft-deleted. */ public function deleted(): static { return $this->state(fn (array $attributes) => [ 'deleted_at' => now(), ]); } }