class User
{
public $id;
public $email;
public $password;
public $name_first;
public $name_middle;
public $name_last;
public $phone_country;
public $phone_code;
public $phone_number;
public $address_country;
public $address_city;
public $address_street;
public $address_house;
}

class User
{
public $id;
public $email;
public $password;
public $name_first;
public $name_middle;
public $name_last;
public $phone_country;
public $phone_code;
public $phone_number;
public $address_country;
public $address_city;
public $address_street;
public $address_house;
}

Вынесем в объекты-значения:

class User
{
public $id;
public $email;
public $password;
public $name; class Name {
public $first;
public $middle;
public $last;
}
public $phone; class Phone {
public $country;
public $code;
public $number;
}
public $address; class Address {
public $country;
public $city;
public $street;
public $house;
}
}