with this class, You are able to control any x-ui panel.
1- First of all , Make sure your server OS is Ubuntu >= 18
2- Update your server libraries with:
apt update -y && apt upgrade -y
3- Also install curl and socat:
apt install curl socat -y
3- Then run this command:
bash <(curl -Ls https://github.com/raw/vaxilu/x-ui/master/install.sh)
4- Now You have to open this link on your browser to see the X-UI login page : <YOUR-SERVER-IP>:54321