$puid, 'repo_path' => $repo_path, 'license' => $license, ] ); $server->run(); } catch (Exception $e) { echo json_encode( ['error' => $e->getMessage()] ); }