input("level"); $host = $request->input("host"); $id = $request->input("id"); $ptype = $request->input("ptype"); $key = $request->input("key"); $type = $request->input("type"); $yaml = <<input("level"); // $config["Nodes"][0]["PanelType"] = $ptype; // $config["Nodes"][0]["ApiConfig"]["ApiHost"] = $host; // $config["Nodes"][0]["ApiConfig"]["ApiKey"] = $key; // $config["Nodes"][0]["ApiConfig"]["NodeID"] = (int)$id; // $config["Nodes"][0]["ApiConfig"]["NodeType"] = $type; echo $yaml; die(); return Yaml::dump($config,6,4,0); } }