'test@yopmail.com', 'to_email' => 'test1@yopmail.com', 'status' => 'pending', 'priority' => 'high', 'subject' => 'test subject', 'content' => 'test subject content here', 'parent_id' => '1'], ['from_email' => 'test@yopmail.com', 'to_email' => 'test1@yopmail.com', 'status' => 'pending', 'priority' => 'high', 'subject' => 'test subject', 'content' => 'test subject content here', 'parent_id' => '1'], ]; foreach($ticket_data as $data) { Ticket::create($data); } } }