&1'; $last_line = exec($command, $data['composer'], $data['install']); // return a response //return all our data to an AJAX call echo json_encode($data);