Hey Vlad,
You can pass an array of features into the GeneratePKeys function. The code would look something like this:
$featNames = array('Customer_name');$featValues = array($_POST["name"]);
$xml = new SimpleXMLElement(LimeLM::GeneratePKeys($limelm_version_id, 1, 1, $to, $featNames, $featValues));