$ Faker Randomelements

'interest_tags' => implode(",", $faker->randomElements(['php', 'javascript', 'vue'], 2))
Alessandro Ballabio