<?php
namespace Database\Factories; use App\Models\Project; use Illuminate\Database\Eloquent\Factories\Factory;
class KeywordFactory extends Factory { public function definition():array{$p=fake()->unique()->words(3,true);return ['project_id'=>Project::factory(),'phrase'=>$p,'normalized_phrase'=>mb_strtolower($p),'search_engine'=>'google','country_code'=>'TR','language_code'=>'tr','device'=>'desktop'];}}