dgithuba / xuiapi
api for x-ui panel
1.0.0
2023-10-02 14:07 UTC
Requires
- php: >= 8.2
- ext-curl: *
This package is auto-updated.
Last update: 2025-05-01 00:10:02 UTC
README
The Update of alirezax5
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 most x-ui panels(just change PATH const)
- Xray management by API
- Show status
- Change xray version
- Inbound management
- Client management
- Settings management
- User(admin) management.
Install
composer require dgithuba/XuiApi
Use
<?php require './vendor/autoload.php'; $xui = new \XuiApi\Panel\MHSanaei('YOU_PANEL_URL', 'YOU_PANEL_USERNAME', 'YOU_PANEL_PASSWORD'); $xui->login(); var_dump($xui->getInbounds());