alirezax5 / xuiapi
api for x-ui panel
Installs: 632
Dependents: 0
Suggesters: 0
Security: 0
Stars: 67
Watchers: 4
Forks: 18
Open Issues: 2
This package is auto-updated.
Last update: 2024-10-09 12:47:27 UTC
README
This is an exercise project to increase coding skills and the user is responsible for using it.
About the project
It is a web service project to manage the x-ui panel
Features
- Support for 90% of panels
- Xray management by API
- Show status
- Change xray version
- Inbound management
- Settings management
- User(admin) managementt.
Install
composer require alirezax5/xuiapi
Panels
- vaxilu => Vaxilu.php
- FranzKafkaYu => FranzKafkaYu.php
- HexaSoftwareTech => HexaSoftwareTech.php
- MHSanaei => MHSanaei.php
- alireza0 => Alireza0.php
- NidukaAkalanka => NidukaAkalanka.php
Use
<?php require __DIR__ . '/vendor/autoload.php'; $xui = new \alirezax5\XuiApi\Panel\Vaxilu('YOU_PANEL_URL', 'YOU_PANEL_USERNAME', 'YOU_PANEL_PASSWORD'); #Set Up Cookie $xui->setCookie(__DIR__.'/Cookie.txt'); $xui->login(); print_r($xui->listInbound());
Example
Donation
USDT (TRC20) & TRX
TQk6AHMREwER9EyGzhUsVv2hUQygGMyCeT
TON
EQBnlnOGefCkwgtO7IZdOBFuoojkpKgK3mI1GmH3MH_gGx34